comaniac commented on pull request #6395:
URL: https://github.com/apache/incubator-tvm/pull/6395#issuecomment-692317441


   Zhi just pointed to me offline about how to access pass context configs in 
Python. Here is an example:
   
   ```python
   import tvm
   with tvm.transform.PassContext(config={"relay.fallback_device_type": 5}):
       pass_ctx = tvm.transform.PassContext.current()
       print(pass_ctx.config["relay.fallback_device_type"])
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to