Skip to content

Commit b875f07

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

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pytorch_lightning/loops/batch/manual.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,8 @@ def advance(self, batch: Any, batch_idx: int, hiddens: Optional[Any] = None) ->
8181
self._output = result_collection
8282

8383
def on_run_end(self) -> Tuple[ResultCollection, Optional[Any]]:
84-
"""Returns the result of this loop, i.e., the post-processed outputs from the training step, and the
85-
hidden state.
86-
"""
84+
"""Returns the result of this loop, i.e., the post-processed outputs from the training step, and the hidden
85+
state."""
8786
output = self._output
8887
hiddens = self._hiddens
8988
self._output, self._hiddens = None, None # free memory

0 commit comments

Comments
 (0)