Skip to content

Commit fe45589

Browse files
authored
Update onnxscript/function_libs/torch_lib/ops/core.py
1 parent 17e963b commit fe45589

File tree

1 file changed

+1
-1
lines changed
  • onnxscript/function_libs/torch_lib/ops

1 file changed

+1
-1
lines changed

onnxscript/function_libs/torch_lib/ops/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4285,7 +4285,7 @@ def _make_reshape_list_broadcastable(reshape_list, values_shape):
42854285
indices = list(indices) + [None] * (self_rank - len(indices))
42864286

42874287
# Get values shape (we use .numpy to make it hashable)
4288-
values_shape = values.shape.numpy()
4288+
values_shape = values.shape
42894289

42904290
index_vectors = []
42914291
for i in range(self_rank):

0 commit comments

Comments
 (0)