Skip to content

Commit c0094fd

Browse files
committed
Format
1 parent 5e88054 commit c0094fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tvm/relay/prelude.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_tensor_array_shape(expr, dtype, prelude):
6565
shape = []
6666
if "scalar" not in shape_str:
6767
for dim_str in shape_str.split("_"):
68-
if dim_str == "?" or dim_str == "any":
68+
if dim_str in ["?", "any"]:
6969
shape.append(Any())
7070
else:
7171
shape.append(int(dim_str))

0 commit comments

Comments
 (0)