Commit 6577774d by 雾雨魔理沙 Committed by Wuwei Lin

fix deprecation warning (#3446)

parent 9b3e83f6
...@@ -600,7 +600,7 @@ def test_gather_nd(): ...@@ -600,7 +600,7 @@ def test_gather_nd():
func = relay.Function([x, y], z) func = relay.Function([x, y], z)
x_data = np.random.uniform(size=xshape).astype("float32") x_data = np.random.uniform(size=xshape).astype("float32")
ref_res = x_data[y_data] ref_res = x_data[tuple(y_data)]
for target, ctx in ctx_list(): for target, ctx in ctx_list():
for kind in ["graph", "debug"]: for kind in ["graph", "debug"]:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment