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 Oct 19, 2021
1 parent 71d8e35 commit 937e32b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def setup_models_and_optimizers(
) -> Tuple[List[Module], List[Optimizer]]:
"""Setup multiple models and multiple optimizers together.
The returned objects are expected to be in the same order they were passed in.
The default implementation will call :meth:`setup_model` and :meth:`setup_optimizer` on the input lists.
The returned objects are expected to be in the same order they were passed in. The default implementation will
call :meth:`setup_model` and :meth:`setup_optimizer` on the input lists.
"""
# TODO (@awaelchli): standardize this across all plugins in Lightning and Lite
models = [self.setup_model(model) for model in models]
Expand Down

0 comments on commit 937e32b

Please sign in to comment.