Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix generator base
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Dec 20, 2018
1 parent 76c0f74 commit 85d9417
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ private[mxnet] trait RandomHelpers {
// unify call targets (random_xyz and sample_xyz) and unify their argument types
private def unifyRandom(func: Func, isSymbol: Boolean): Func = {
var typeConv = Set("org.apache.mxnet.NDArray", "org.apache.mxnet.Symbol",
"java.lang.Float", "java.lang.Integer")
"Float", "Int")

func.copy(
name = func.name.replaceAll("(random|sample)_", ""),
Expand Down

0 comments on commit 85d9417

Please sign in to comment.