Skip to content

Commit f899e05

Browse files
committed
Fix typo in LSTM equations
1 parent 76c1eae commit f899e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/lstm.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ output gates and, subsequently, their outputs :
124124
.. math::
125125
:label: 5
126126

127-
o_t = \sigma(W_o x_t + U_o h_{t-1} + V_o C_t + b_1)
127+
o_t = \sigma(W_o x_t + U_o h_{t-1} + V_o C_t + b_o)
128128

129129
.. math::
130130
:label: 6
@@ -144,7 +144,7 @@ matrix :math:`V_o` and equation :eq:`5` is replaced by equation :eq:`5-alt` :
144144
.. math::
145145
:label: 5-alt
146146

147-
o_t = \sigma(W_o x_t + U_o h_{t-1} + b_1)
147+
o_t = \sigma(W_o x_t + U_o h_{t-1} + b_o)
148148

149149
Our model is composed of a single LSTM layer followed by an average pooling
150150
and a logistic regression layer as illustrated in Figure 2 below. Thus, from

0 commit comments

Comments
 (0)