Skip to content

Commit

Permalink
remove extra else statement
Browse files Browse the repository at this point in the history
  • Loading branch information
fnhirwa committed Sep 11, 2024
1 parent 53a049e commit 3bd4d6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pytorch_forecasting/utils/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,6 @@ def move_to_device(
device = torch.device(device)
else:
device = torch.device("cpu")
else:
device = torch.device("cpu")
else:
device = torch.device(device)
if isinstance(x, dict):
Expand Down

0 comments on commit 3bd4d6d

Please sign in to comment.