File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/lightning/pytorch/loops Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,6 @@ def restarting(self) -> bool:
3131 """Whether the state of this loop was reloaded and it needs to restart."""
3232 return self ._restarting
3333
34- @property
35- def is_resuming (self ) -> bool :
36- """Whether we're resuming training from a checkpoint."""
37- return self ._resuming_from_checkpoint
38-
3934 @restarting .setter
4035 def restarting (self , restarting : bool ) -> None :
4136 """Connects this loop's restarting value and its children."""
@@ -44,6 +39,11 @@ def restarting(self, restarting: bool) -> None:
4439 if isinstance (loop , _Loop ):
4540 loop .restarting = restarting
4641
42+ @property
43+ def is_resuming (self ) -> bool :
44+ """Whether we're resuming training from a checkpoint."""
45+ return self ._resuming_from_checkpoint
46+
4747 def reset_restart_stage (self ) -> None :
4848 pass
4949
You can’t perform that action at this time.
0 commit comments