Skip to content

Commit

Permalink
elu
Browse files Browse the repository at this point in the history
  • Loading branch information
pchavanne committed Jan 27, 2017
1 parent 9f717bd commit 0fcd995
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions yadll/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,11 +702,11 @@ class LSTM(Layer):
Long Short Term Memory
.. math ::
i_t &= \sigma(x_t.W_xi + h_{t-1}.W_hi + b_i)
f_t &= \sigma(W_xf.x_t + W_hf.h_{t-1} + b_f)
\tilde{C_t} &= \sigma(W_xc.x_t + W_hc.h_{t-1} + b_c)
C_t &= f_t * C_{t-1} + i_t * \tilde{C_t}
o_t &= \sigma(W_xo.x_t + W_ho.h_{t-1} + b_o)
i_t &= \sigma(x_t.W_xi + h_{t-1}.W_hi + b_i)\\
f_t &= \sigma(W_xf.x_t + W_hf.h_{t-1} + b_f)\\
\tilde{C_t} &= \sigma(W_xc.x_t + W_hc.h_{t-1} + b_c)\\
C_t &= f_t * C_{t-1} + i_t * \tilde{C_t}\\
o_t &= \sigma(W_xo.x_t + W_ho.h_{t-1} + b_o)\\
h_t &= o_t * tanh(C_t)
Parameters
Expand Down

0 comments on commit 0fcd995

Please sign in to comment.