create LSTM layer
(optional) one or more keyword options described below
LongShortTermMemoryLayer(units,opts) creates a long short-term memory (LSTM) layer for the units specified in units.
LSTMLayer(units,opts) is equivalent to LongShortTermMemoryLayer(units,opts).
This function is part of the DeepLearning package, so it can be used in the short form LongShortTermMemoryLayer(..) only after executing the command with(DeepLearning). However, it can always be accessed through the long form of the command by using DeepLearning[LongShortTermMemoryLayer](..).
The implementation of LongShortTermMemoryLayer uses tf.keras.layers.LSTM from the TensorFlow Python API. Consult the TensorFlow Python API documentation for tf.keras.layers.LSTM for more information.
The DeepLearning[LongShortTermMemoryLayer] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
Download Help Document
What kind of issue would you like to report? (Optional)