projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b3e83f
)
fix deprecation warning (#3446)
author
雾雨魔理沙
<lolisa@marisa.moe>
Fri, 28 Jun 2019 03:17:47 +0000
(20:17 -0700)
committer
Wuwei Lin
<vincentl13x@gmail.com>
Fri, 28 Jun 2019 03:17:47 +0000
(11:17 +0800)
tests/python/relay/test_op_level3.py
patch
|
blob
|
history
diff --git
a/tests/python/relay/test_op_level3.py
b/tests/python/relay/test_op_level3.py
index
a878d79
..
fcd4caf
100644
(file)
--- a/
tests/python/relay/test_op_level3.py
+++ b/
tests/python/relay/test_op_level3.py
@@
-600,7
+600,7
@@
def test_gather_nd():
func = relay.Function([x, y], z)
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 kind in ["graph", "debug"]: