Recurrent..::..LSTM Method
Long short-term memory (LSTM) is a recurrent neural network (RNN) architecture that remembers values over arbitrary intervals
Namespace:
SiaNet.NNAssembly: SiaNet (in SiaNet.dll)
Syntax
public static Function LSTM( int inputDim, uint hiddenSize, uint numLayers, bool bidirectional, string weightInitializer )
Public Shared Function LSTM ( _ inputDim As Integer, _ hiddenSize As UInteger, _ numLayers As UInteger, _ bidirectional As Boolean, _ weightInitializer As String _ ) As Function
public: static Function^ LSTM( int^ inputDim, unsigned int^ hiddenSize, unsigned int^ numLayers, bool^ bidirectional, String^ weightInitializer )
Parameters
- inputDim
- Type: Int32
The input dimension.
- hiddenSize
- Type: UInt32
Size of the hidden layer.
- numLayers
- Type: UInt32
The number layers.
- bidirectional
- Type: Boolean
If bidirectional RNN
- weightInitializer
- Type: String
The weight initializer.