Recurrent Base
interface RecurrentBase<Recurrent : RecurrentBase<Recurrent, T>, T> : TrainableLayer<Recurrent>
Content copied to clipboard
Types
Recurrent Base
Link copied to clipboard
Functions
do Recurrence
Link copied to clipboard
open fun doRecurrence(x: DTensor, initialState: T = this.initialState): DTensor
Content copied to clipboard
Do the recurrence.
extract Tangent
Link copied to clipboard
open override fun extractTangent(output: DTensor, extractor: (DTensor, DTensor) -> DTensor): TrainableComponent.Companion.Tangent
Content copied to clipboard
get Single Input
Link copied to clipboard
Helper to check that the layer was called with a single input. Returns that input if successful, else errors.
load
Link copied to clipboard
process For Batching
Link copied to clipboard
store
Link copied to clipboard
training Step
Link copied to clipboard
open override fun trainingStep(optim: Optimizer<*>, tangent: Trainable.Tangent): Recurrent
Content copied to clipboard
with Trainables
Link copied to clipboard
Properties
accType
Link copied to clipboard
initialOutput
Link copied to clipboard
initialState
Link copied to clipboard
sequenceAxis
Link copied to clipboard
trainables
Link copied to clipboard
Inheritors
GRU
Link copied to clipboard