Skip to content

Commit 635bb5e

Browse files
lanpasoumith
authored andcommitted
corrects typo
1 parent a7f6b0a commit 635bb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/nn/modules/rnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ class LSTMCell(RNNCellBase):
437437
g = \tanh(W_{ig} x + b_{ig} + W_{hc} h + b_{hg}) \\
438438
o = \mathrm{sigmoid}(W_{io} x + b_{io} + W_{ho} h + b_{ho}) \\
439439
c' = f * c + i * g \\
440-
h' = o * \tanh(c_t) \\
440+
h' = o * \tanh(c') \\
441441
\end{array}
442442
443443
Args:

0 commit comments

Comments
 (0)