Methods
# inner lstmLayer(units, returnSequence) → {LSTM}
Creates a Long-Short Term Memory layer - Hochreiter 1997.
Parameters:
Name | Type | Description |
---|---|---|
units |
Number
|
Positive integer, dimensionality of the output space. |
returnSequence |
Boolean
|
Whether to return the last output in the output sequence, or the full sequence. |
tf.layers.lstm({ units, returnSequence }).
LSTM