Skip to content

Commit

Permalink
[Relay] Fix bug in test_op_level3 (#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 Jul 21, 2021
1 parent eacc2cb commit e8c7f67
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 @@ -1926,7 +1926,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 e8c7f67

Please sign in to comment.