Skip to content

Commit ca7b9a1

Browse files
fix unused variable
1 parent 9f4e8ab commit ca7b9a1

File tree

1 file changed

+1
-1
lines changed
  • torchvision/transforms/v2/functional

1 file changed

+1
-1
lines changed

torchvision/transforms/v2/functional/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def _import_cvcuda():
165165

166166
def _is_cvcuda_available():
167167
try:
168-
cvcuda = _import_cvcuda()
168+
_ = _import_cvcuda()
169169
return True
170170
except ImportError:
171171
return False

0 commit comments

Comments
 (0)