Contents

candidate_gate

The descriptor of the candidate gate, which uses default tanh activation.

Declaration

var candidate_gate: BNNSLSTMGateDescriptor

Discussion

Use C style multidimensional array notation to order the memory pointers as [ ``/Accelerate/BNNSLayerParametersLSTM/num_layers`` ][num_directions][ ``/Accelerate/BNNSLayerParametersLSTM/hidden_size`` ][ ``/Accelerate/BNNSLayerParametersLSTM/input_size`` / ``/Accelerate/BNNSLayerParametersLSTM/hidden_size`` ].

If lstm_flags includes BNNSLayerFlagsLSTMBidirectional, BNNS defines num_directions as 2, or otherwise 1.

See Also

Instance Properties