Package org.deeplearning4j.nn.conf.layers.recurrent
-
Class Summary Class Description Bidirectional Bidirectional.Builder LastTimeStep SimpleRnn SimpleRnn.Builder TimeDistributed -
Enum Summary Enum Description Bidirectional.Mode This Mode enumeration defines how the activations for the forward and backward networks should be combined.
ADD: out = forward + backward (elementwise addition)
MUL: out = forward * backward (elementwise multiplication)
AVERAGE: out = 0.5 * (forward + backward)
CONCAT: Concatenate the activations.
Where 'forward' is the activations for the forward RNN, and 'backward' is the activations for the backward RNN.