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. Because we are already inside the tvm namespace.
   
   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:
us...@infra.apache.org


Reply via email to