Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 21, 2023
1 parent 0c135a0 commit fc10b43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvnet/data/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
def copy_batch_to_device(batch, device):
"""Moves a dict-batch of tensors to new device."""
batch_copy = {}

for k, v in batch.items():
if isinstance(v, dict):
# Recursion to reach the nested NWP
Expand Down

0 comments on commit fc10b43

Please sign in to comment.