Skip to content

Commit 88dd15e

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

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pytorch_lightning/core/lightning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def lr_schedulers(self) -> Optional[Union[Any, List[Any]]]:
137137

138138
# multiple schedulers
139139
return lr_schedulers
140-
140+
141141
@property
142142
def example_input_array(self) -> Any:
143143
return self._example_input_array

pytorch_lightning/plugins/training_type/ddp_spawn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414
import logging
1515
import os
16-
from pytorch_lightning.utilities.apply_func import apply_to_collection
1716
import re
1817
from typing import Any, List, Optional, Union
1918

pytorch_lightning/trainer/connectors/logger_connector/logger_connector_new.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def reset(self, metrics: Optional[bool] = None) -> None:
278278
self._batch_idx = None
279279
self._split_idx = None
280280
self._current_fx = None
281-
281+
282282
@property
283283
def spawn_extra_parameters(self) -> Dict[str, Dict[str, float]]:
284284
return self._spawn_extra_parameters

0 commit comments

Comments
 (0)