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/07/20 13:27:40 UTC

[GitHub] [incubator-tvm] sandyhu533 commented on a change in pull request #6054: [RELAY][MXNET][FRONTEND] add support for MXNET numpy operators

sandyhu533 commented on a change in pull request #6054:
URL: https://github.com/apache/incubator-tvm/pull/6054#discussion_r457381681



##########
File path: tests/python/frontend/mxnet/test_forward.py
##########
@@ -1373,6 +1374,266 @@ def verify(data_shape, anchor_shape, stds=[1, 1, 1, 1], clip=-1, in_format="corn
     verify((1, 10, 4), (1, 10, 4), in_format="center")
 
 
+dtype_list = ['float64', 'float32', 'int64', 'int32', 'bool']
+
+def test_forward_npi_pad():
+    if not hasattr(mx.sym.np, 'pad'):
+        pytest.skip("mx.sym.np.pad hasn't been publish yet")

Review comment:
       I'm afraid we couldn't update CI's mxnet version now. The latest version of mxnet has made some changes that the test functions in tvm didn't updated with them. So the CI would fail if we update mxnet version now.
   This is the error message when I try to run pytest for [tests/python/frontend/mxnet/test_forward.py](https://github.com/apache/incubator-tvm/pull/6054/files/bca8e36ebcbb37ffe6ebbfeccdb4f561bf2c7ab8#diff-c52350cf958bfb7689b1c7c2adfe1a13).
   `E       AttributeError: module 'mxnet' has no attribute 'mod'`




----------------------------------------------------------------
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