Skip to content

Commit bcb2738

Browse files
committed
Update stopping.py
1 parent d2c5a43 commit bcb2738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchcast/utils/stopping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def from_dict(cls, **kwargs) -> 'Stopping':
5353
return cls(**kwargs)
5454

5555
@torch.inference_mode()
56-
def _get_new_values(self, loss: Optional[float]):
56+
def _get_new_values(self, loss: Optional[float]) -> torch.Tensor:
5757
flat = []
5858

5959
if self.monitor_params:

0 commit comments

Comments
 (0)