Build one LSTM step
nn_lstm_step(
ctx,
x_t,
h_t,
c_t,
W_gates,
U_gates,
b_gates,
units,
act_cell,
act_rec
)list(h = new_h, c = new_c)
ggml compute context
Input at this step: tensor [input_size, N]
Previous hidden state: tensor [units, N]
Previous cell state: tensor [units, N]
[input_size, 4*units]
[units, 4*units]
[4*units]
Integer
Activation name for cell gate (tanh by default)
Activation name for i/f/o gates (sigmoid by default)