Skip to content

Commit

Permalink
fix KerasLayer new parameters() (#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Zheng committed Jul 20, 2020
1 parent 0791457 commit 8d38623
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ abstract class KerasLayer[A <: Activity: ClassTag, B <: Activity: ClassTag, T: C
}
// scalastyle:on

override def parameters(): (Array[Tensor[T]], Array[Tensor[T]]) = {
if (isBuilt()) {
labor.parameters()
} else {
null
}
}

override def updateOutput(input: A): B = {
output = labor.updateOutput(input)
output
Expand Down

0 comments on commit 8d38623

Please sign in to comment.