A helper that contains common operations for any layers.
A helper that contains common operations for any layers.
import com.thoughtworks.deeplearning.DifferentiableAny._
(input:INDArray @Symbolic).compose(anotherLayer)
A type class that makes result of forward as input of backward.
A type class that makes result of forward as input of backward.
To train a layer, a implement of Trainable
has parameterized with types of the layer's Input and Output is required.
This type class is required by train.
Implicitly converts any layer to AnyLayerOps, which enables common methods for any layers.
Implicitly converts any layer to AnyLayerOps, which enables common methods for any layers.
import com.thoughtworks.deeplearning.DifferentiableAny._
A namespace of common operators for any layers.
After importing
DifferentiableAny._
, the following methods will be available on any layers.Author:
杨博 (Yang Bo) <[email protected]>