From 937e32bdefd4495b39eb7f96dae89ec59ab09e55 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Oct 2021 09:15:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../plugins/training_type/training_type_plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytorch_lightning/plugins/training_type/training_type_plugin.py b/pytorch_lightning/plugins/training_type/training_type_plugin.py index 4fc4e6d123ad7a..c11de62570efa5 100644 --- a/pytorch_lightning/plugins/training_type/training_type_plugin.py +++ b/pytorch_lightning/plugins/training_type/training_type_plugin.py @@ -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]