Skip to content

Commit

Permalink
Bump 0.11 fix KerasLayer parameters() (#3036)
Browse files Browse the repository at this point in the history
  • Loading branch information
Le-Zheng authored Jul 20, 2020
1 parent 9ee526f commit a759857
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 a759857

Please sign in to comment.