Layer factory function to create an LSTM block for use inside a recurrence. The LSTM block implements one step of the recurrence and is stateless. It accepts the previous state as its first two arguments, and outputs its new state as a two-valued tuple (h,c).
1 2 3 |
shape |
- list of ints representing tensor shape |
activation |
(Function) - optional activation Function |
init |
(scalar or matrix or initializer, defaults to init_glorot_uniform()) – initial value of weights W |
name |
string (optional) the name of the Function instance in the network |
init |
(scalar or matrix or initializer, defaults to init_glorot_uniform()) – initial value of weights W_bias |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.