Skip to content

Commit

Permalink
Fix CI - rewrite rule test of scatternd (#1936)
Browse files Browse the repository at this point in the history
Fix ci
  • Loading branch information
titaiwangms authored Nov 7, 2024
1 parent 6ee7c21 commit edfa265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxscript/rewriter/collapse_slices_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_scatternd_is_redundant_when_it_is_updating_the_whole_input_in_order(sel
"""
)
# Use inserted initializers to avoid manually coding the large constants
indices = np.arange(112).reshape(112, 1)
indices = np.arange(112).reshape(112, 1).astype(np.int64)
model = ir.serde.deserialize_model(model_proto)
# from numpy to ir.Tensor
indices_ir_tensor = ir.Tensor(
Expand Down

0 comments on commit edfa265

Please sign in to comment.