Lunderberg commented on PR #11062:
URL: https://github.com/apache/tvm/pull/11062#issuecomment-1102833431

   I was thinking of this as complementary to the existing 
`PrimFunc.specialize`.  Where `specialize` can operate on existing `PrimFunc` 
objects, and can be used from C++, these parameters can only be used when 
generating a new `PrimFunc` object from Python.
   
   The advantage of using the `prim_func` parameters is that they do not 
require adding the parameter to the `PrimFunc` arguments and do not require 
running through an additional transformation, making them easier to read when 
writing test cases.


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