Skip to content

Commit

Permalink
Update base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jwdink committed Jan 16, 2025
1 parent 3f0e0ed commit 1968699
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchcast/state_space/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ def _script_forward(self,
num_groups = meanu.shape[0]
if stop_at_last_measured:
warn("Ignoring `stop_at_last_measured` since `input` is None.")
last_measured_per_group = torch.full((num_groups,), out_timesteps, dtype=torch.int, device=meanu.device)
else:
if len(input.shape) != 3:
raise ValueError(f"Expected len(input.shape) == 3 (group,time,measure)")
Expand Down

0 comments on commit 1968699

Please sign in to comment.