Skip to content

Commit 86aa17c

Browse files
committed
implement additional cvcuda infra for all branches to avoid duplicate setup
1 parent 5b87edc commit 86aa17c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

torchvision/transforms/v2/functional/_geometry.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1532,9 +1532,7 @@ def _rotate_cvcuda(
15321532
fill: _FillTypeJIT = None,
15331533
) -> "cvcuda.Tensor":
15341534
cvcuda = _import_cvcuda()
1535-
1536-
1537-
1535+
15381536
return cvcuda.rotate(inpt, angle, interpolation=interpolation, expand=expand, fill=fill, center=center)
15391537

15401538

0 commit comments

Comments
 (0)