Skip to content

Commit 017b222

Browse files
Remove comments
1 parent 9f1655a commit 017b222

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

benchmarks/benchmark_transforms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ def cudacv_pipeline(image: torch.Tensor, target_size: int) -> torch.Tensor:
105105
channel_first = image.shape[-1] != 3
106106
if channel_first:
107107
image = image.permute(0, 2, 3, 1).contiguous()
108-
# image = cvcuda.as_tensor(image, nvcv.TensorLayout.NCHW)
109-
# image = cvcuda.reformat(image, nvcv.TensorLayout.NHWC)
110108
image = cvcuda.as_tensor(image, nvcv.TensorLayout.NHWC)
111109
img: cvcuda.Tensor = cvcuda.resize(
112110
image,

0 commit comments

Comments
 (0)