Skip to content

Commit

Permalink
[Relay] Fix bug in test_op_level3 (apache#8508)
Browse files Browse the repository at this point in the history
* [Relay] Fix bug in test_op_level3

Test case failed due to missing mode="add"

* Empty
  • Loading branch information
CaptainDuke authored and ylc committed Jan 13, 2022
1 parent a206d41 commit 4957d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/relay/test_op_level3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ def verify_scatter_nd_with_stack(
out[1, :] += updates[0, :]
out[0, :] += updates[1, :]
out[0, :] += updates[2, :]
verify_scatter_nd(data, indices, updates, out)
verify_scatter_nd(data, indices, updates, out, mode="add")
verify_scatter_nd_with_stack(data, indices, updates, out)

for mode in ["add", "update"]:
Expand Down

0 comments on commit 4957d0d

Please sign in to comment.