Skip to content

Commit d10fba8

Browse files
committed
Fix yapf
1 parent 59b1bba commit d10fba8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pytorch_lightning/trainer/connectors/checkpoint_connector.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ def attempt_to_apply_checkpoint(self, model: LightningModule) -> bool:
111111
return restored
112112

113113
def restore_states(
114-
self,
115-
model: LightningModule,
116-
checkpoint_path: str,
117-
on_gpu: bool,
114+
self,
115+
model: LightningModule,
116+
checkpoint_path: str,
117+
on_gpu: bool,
118118
) -> Dict[str, Any]:
119119
"""Restore all states from checkpoint in the specified path.
120120

0 commit comments

Comments
 (0)