junrushao commented on PR #15170:
URL: https://github.com/apache/tvm/pull/15170#issuecomment-1610078509

   This is a really cool addition! A bit off the topic: do you think we should 
sugar the `global_symbol` attribute to make it part of the decorator? For 
example,
   
   ```
   @R.function(global_symbol=True) # implies the global symbol name as 
"my_relax_func"
   def my_relax_func: ...
   @I.prim_func(global_symbol=True) # implies the global symbol name as 
"my_relax_func"
   def my_tir_func: ...
   @I.prim_func # implies the private symbol
   def my_private_func: ...
   ```


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to