Class LSTM
Represents an LSTM
recurrent layer. This generates an output tensor by computing a one-layer LSTM (long short-term memory) on an input tensor.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class LSTM : Layer
Constructors
Name | Description |
---|---|
LSTM(string, string[], string[], int, Rnn |
Initializes and returns an instance of a Long Short-Term Memory Network ( |
Fields
Name | Description |
---|---|
activation |
The alpha values of the activation functions of the LSTM. |
activation |
The beta values of the activation functions of the LSTM. |
activations | The activation functions of the LSTM as an array of |
clip | The cell clip threshold of the LSTM. |
direction | The direction of the LSTM as an |
The number of neurons in the hidden layer of the LSTM. |
|
input |
Whether to forget the input values in the LSTM. If this is |
layout | The layout of the tensors as an |
Properties
Name | Description |
---|---|
Num |
The number of directions of the LSTM inferred from the |
Methods
Name | Description |
---|---|
Execute(Tensor[], Execution |
Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
To |
Returns a string that represents the |