Skip to content

Commit

Permalink
RNN
Browse files Browse the repository at this point in the history
  • Loading branch information
pchavanne committed Jan 28, 2017
1 parent 4530fd0 commit 42835fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions yadll/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,8 @@ class LSTM(Layer):
Long Short Term Memory
.. math ::
i_t &= \sigma_i(x_t W_{xi} + h_{t-1} W_{hi}
i_t &= \sigma_i(ax_t W_{xi} + h_{t-1} W_{hi}
+ w_{ci} \odot c_{t-1} + b_i)\\
f_t &= \sigma_f(x_t W_{xf} + h_{t-1} W_{hf}
+ w_{cf} \odot c_{t-1} + b_f)\\
Expand All @@ -708,8 +709,6 @@ class LSTM(Layer):
o_t &= \sigma_o(x_t W_{xo} + h_{t-1} W_{ho} + w_{co} \odot c_t + b_o)\\
h_t &= o_t \odot \sigma_h(c_t)
Parameters
----------
incoming : a `Layer`
Expand Down

0 comments on commit 42835fe

Please sign in to comment.