You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/08/23 22:25:18 UTC

[GitHub] aaronmarkham opened a new issue #12318: Sphinx is unable to access some MXNet ONNX module functions

aaronmarkham opened a new issue #12318: Sphinx is unable to access some MXNet ONNX module functions
URL: https://github.com/apache/incubator-mxnet/issues/12318
 
 
   This causes Sphinx to fail processing the API docs when shorthand references are used. I used a workaround in #12317 to just reference the functions the long way. 
   
   This means the reference is:
   mxnet.contrib.onnx.onnx2mx.import_model.import_model
   When it could be:
   mxnet.contrib.onnx.import_model
   
   ![2018-08-23_15-08-55](https://user-images.githubusercontent.com/5974205/44555096-657b4100-a6e8-11e8-8ea5-49cf3db31063.png)
   
   But this doesn't work.
   
   Example:
   ```
   ubuntu@ip-172-31-66-78:~/incubator-mxnet/docs$ python -c "import mxnet.contrib.onnx.onnx2mx"
   ubuntu@ip-172-31-66-78:~/incubator-mxnet/docs$ python -c "import mxnet.contrib.onnx.onnx2mx.import_model"
   ubuntu@ip-172-31-66-78:~/incubator-mxnet/docs$ python -c "import mxnet.contrib.onnx.import_model"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
   ImportError: No module named import_model
   ```
   @Roshrini 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services