Skip to content

Commit 281725a

Browse files
committed
fix lint
1 parent ccbb150 commit 281725a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchvision/models/detection/transform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def _get_shape_onnx(image):
1414
from torch.onnx import operators
1515
return operators.shape_as_tensor(image)[-2:]
1616

17+
1718
@torch.jit.unused
1819
def _float_to_tensor_onnx(v):
1920
return torch.tensor(v)

0 commit comments

Comments
 (0)