tqchen edited a comment on pull request #7987:
URL: https://github.com/apache/tvm/pull/7987#issuecomment-833857175


   Create prim_func returns a PrimFunc, the name is attached in module creation 
process, we can likely recompose by
   
   ```python
   mod = IRModule({"mycoolname": create_prim_func())
   ```
   
   Note such name is different from the global_symbol(name of generated 
function), which can be set by 
`create_prim_func().with_attr("tir.global_symbol", global_symbol)`


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