View source: R/nn_functional.R
| ggml_lstm | R Documentation |
Create an LSTM Layer Object
ggml_lstm(
units,
return_sequences = FALSE,
activation = "tanh",
recurrent_activation = "sigmoid",
name = NULL,
trainable = TRUE
)
units |
Integer, number of hidden units. |
return_sequences |
Logical. |
activation |
Cell gate activation (default |
recurrent_activation |
Recurrent gate activation (default |
name |
Optional character name. |
trainable |
Logical. |
A ggml_layer object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.