Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 17, 2021
1 parent 9c9bd78 commit 4add03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/advanced/loops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ This will be a subclass of the existing :class:`~pytorch_lightning.loops.optimiz
)
# Here we are basically calling lightning_module.training_step()
# and this returns a generator! The training_step is handled by the
# and this returns a generator! The training_step is handled by the
# accelerator to enable distributed training.
generator = self.trainer.accelerator.training_step(step_kwargs)
return generator
Expand Down

0 comments on commit 4add03c

Please sign in to comment.