From e2cd36d4f9c3431ffd37aa2597d6f2830826bdb9 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 51dadb21b2a2..03d52a835a48 100644 --- a/tests/python/relay/test_op_level3.py +++ b/tests/python/relay/test_op_level3.py @@ -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"]: