From 7036d0660677c5bcd3dad1da8ca51ce4093e03e0 Mon Sep 17 00:00:00 2001 From: alirashidAR Date: Sun, 16 Feb 2025 01:50:44 +0530 Subject: [PATCH] fix: redundant import --- ocf_data_sampler/sample/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ocf_data_sampler/sample/base.py b/ocf_data_sampler/sample/base.py index 491827ec..c5b44a37 100644 --- a/ocf_data_sampler/sample/base.py +++ b/ocf_data_sampler/sample/base.py @@ -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: """