We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccbb150 commit 281725aCopy full SHA for 281725a
torchvision/models/detection/transform.py
@@ -14,6 +14,7 @@ def _get_shape_onnx(image):
14
from torch.onnx import operators
15
return operators.shape_as_tensor(image)[-2:]
16
17
+
18
@torch.jit.unused
19
def _float_to_tensor_onnx(v):
20
return torch.tensor(v)
0 commit comments