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/21 22:52:45 UTC

[GitHub] [incubator-tvm] tqchen edited a comment on pull request #6522: Rename tvm.hybrid.script to tvm.script.

tqchen edited a comment on pull request #6522:
URL: https://github.com/apache/incubator-tvm/pull/6522#issuecomment-696420692


   Thanks @tkonolige . I feel API-wise the module name tvmscript is quite duplicated and long to type.
   One quick idea is to introduce the namespace `script`, and do things like
   
   ```python
   @tvm.script.module  # or @tvm.script.m
   class Module:
        def fn1():
            pass
   
   mod0 = Module()
   mod0.asscript()
   ```
   
   


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