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/03/20 21:11:50 UTC

[GitHub] [incubator-tvm] zhiics commented on a change in pull request #5112: [docs] Update relay docs

zhiics commented on a change in pull request #5112: [docs] Update relay docs
URL: https://github.com/apache/incubator-tvm/pull/5112#discussion_r395891694
 
 

 ##########
 File path: docs/api/python/relay/index.rst
 ##########
 @@ -27,16 +27,22 @@ compiler stack.
 .. toctree::
    :maxdepth: 2
 
+   analysis
    backend
-   base
-   build_module
-   expr
    frontend
    image
-   analysis
    transform
    nn
    op
-   scope_builder
    vision
    testing
+
+.. automodule:: tvm.relay
+    :members:
+    :imported-members:
+    :exclude-members: RelayExpr, Pass, PassInfo, function_pass, PassContext,
 
 Review comment:
   Yeah, I tried this before. But there are a lot of places that directly use the classes without namespace. It causes many ambiguous reference. For example:
   
   https://github.com/apache/incubator-tvm/blob/master/python/tvm/ir/adt.py#L82
   
   

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


With regards,
Apache Git Services