Skip to content

Commit 945ce5c

Browse files
jfsantossoumith
authored andcommitted
Fix math block of GRUCell in docs (pytorch#572)
Added a blank space between the beginning of the `.. math::` block, otherwise it is displayed as a code block.
1 parent ce13900 commit 945ce5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/nn/modules/rnn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ def forward(self, input, hx):
428428

429429
class GRUCell(RNNCellBase):
430430
r"""A gated recurrent unit (GRU) cell
431+
431432
.. math::
432433
433434
\begin{array}{ll}

0 commit comments

Comments
 (0)