Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Sphinx is unable to access some MXNet ONNX module functions #12318

Description

@aaronmarkham

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

But the shorthand route 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

Activity

  1. ankkhedia commented on Aug 23, 2018

    @ankkhedia
    Contributor

    @mxnet-label-bot [Doc, Website]

  2. aaronmarkham commented on Aug 23, 2018

    @aaronmarkham
    ContributorAuthor

    Hi @marcoabreu - this is more of a Python issue on the engineering side than something that can be fixed from within the website or docs systems. I might even label it a bug.

  3. ankkhedia commented on Aug 23, 2018

    @ankkhedia
    Contributor

    @sandeep-krishnamurthy Could you please label above as [Python, Build, Bug] and remove [Doc, Website]

  4. vdantu commented on Nov 10, 2018

    @vdantu
    Contributor

    @aaronmarkham : What needs to be done here for the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions