API Reference - Containers - GatedRecurrentUnit (GRU)
Constructors
new()
Creates a new cost function object.
GatedRecurrentUnit.new({inputDimensionSize: number, hiddenDimensionSize: number, learningRate: number, reverse: boolean}): ContainerObject
Parameters:
-
inputDimensionSize: The number of input features that will be accepted by the gated recurrent unit cell.
-
hiddenDimensionSize: The number of hidden features that will be generated by the gated recurrent unit cell.
-
learningRate: The learning rate that will be used by all the weight blocks that are stored in this gated recurrent unit cell.
-
reverse: Determines whether the predictions should be generated starting from the end of the sequence. [Default: False]
Returns:
- Container: The generated container object.
Functions
clearAllStoredTensors()
GatedRecurrentUnit:clearAllStoredTensors()