Skip to content

Commit

Permalink
fix: redundant import
Browse files Browse the repository at this point in the history
  • Loading branch information
alirashidAR committed Feb 15, 2025
1 parent 8713376 commit 7036d06
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ocf_data_sampler/sample/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ def batch_to_tensor(batch: NumpyBatch) -> TensorBatch:
batch[k] = torch.as_tensor(v)
return batch

import torch

def copy_batch_to_device(batch: dict, device: torch.device) -> dict:
"""
Expand Down

0 comments on commit 7036d06

Please sign in to comment.