Skip to content

Commit a1f5ea4

Browse files
pmeierNicolasHug
andauthored
Update torchvision/transforms/v2/functional/_utils.py
Co-authored-by: Nicolas Hug <[email protected]>
1 parent b3c2c88 commit a1f5ea4

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

torchvision/transforms/v2/functional/_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ def is_simple_tensor(inpt: Any) -> bool:
1010
return isinstance(inpt, torch.Tensor) and not isinstance(inpt, datapoints.Datapoint)
1111

1212

13+
# {dispatcher: {input_type: type_specific_kernel}}
1314
_KERNEL_REGISTRY: Dict[Callable, Dict[Type, Callable]] = {}
1415

1516

0 commit comments

Comments
 (0)