From e8c7f67a0bab4a24597a6091904b25ce7093e071 Mon Sep 17 00:00:00 2001 From: Duke Wang Date: Thu, 22 Jul 2021 00:28:34 +0800 Subject: [PATCH] [Relay] Fix bug in test_op_level3 (#8508) * [Relay] Fix bug in test_op_level3 Test case failed due to missing mode="add" * Empty --- tests/python/relay/test_op_level3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/relay/test_op_level3.py b/tests/python/relay/test_op_level3.py index fc67f0b90295..5d8df6bdf5ca 100644 --- a/tests/python/relay/test_op_level3.py +++ b/tests/python/relay/test_op_level3.py @@ -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"]: