Skip to content

Commit 18dc886

Browse files
committed
true
1 parent bb04839 commit 18dc886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

onnxscript/type_annotation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _is_tensor_type(typeinfo: TypeAnnotationValue) -> bool:
131131
if type(typeinfo) is onnx_types.TensorType:
132132
# Special case the handle when typeinfo is TensorType.
133133
# It seems abc.ABC in py39 has issues with issubclass
134-
return False
134+
return True
135135
if inspect.isclass(typeinfo) and issubclass(typeinfo, onnx_types.TensorType):
136136
return True
137137
return False

0 commit comments

Comments
 (0)