You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/09/11 03:00:44 UTC

[GitHub] [incubator-tvm] siju-samuel commented on a change in pull request #6446: [ONNX] Add support for GatherElements conversion

siju-samuel commented on a change in pull request #6446:
URL: https://github.com/apache/incubator-tvm/pull/6446#discussion_r486744994



##########
File path: tests/python/frontend/onnx/test_forward.py
##########
@@ -425,6 +425,45 @@ def test_gather():
     verify_gather((4, 3, 5, 6), [[2, 1, 0, 0]], 0, 'float32')
 
 
+def verify_gatherelements(in_shape, indices, axis):
+    x = np.random.uniform(size=in_shape).astype("float32")
+    indices = np.array(indices, dtype="int32")
+    print(x.shape)
+    print(indices.shape)
+

Review comment:
       Remove this prints




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org