Skip to content

Commit 48dbdd2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 610809c commit 48dbdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source-pytorch/common/tbptt.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ hidden states should be kept in-between each time-dimension split.
1010

1111

1212
.. code-block:: python
13-
13+
1414
class LitModel(LightningModule):
1515
1616
def __init__(self):
@@ -41,4 +41,4 @@ hidden states should be kept in-between each time-dimension split.
4141
4242
# 6. Remove the return of `hiddens`
4343
# Returning loss in manual optimization is not needed
44-
return None
44+
return None

0 commit comments

Comments
 (0)