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 5e88054 commit c0094fdCopy full SHA for c0094fd
python/tvm/relay/prelude.py
@@ -65,7 +65,7 @@ def get_tensor_array_shape(expr, dtype, prelude):
65
shape = []
66
if "scalar" not in shape_str:
67
for dim_str in shape_str.split("_"):
68
- if dim_str == "?" or dim_str == "any":
+ if dim_str in ["?", "any"]:
69
shape.append(Any())
70
else:
71
shape.append(int(dim_str))
0 commit comments