Hzfengsy commented on PR #13809:
URL: https://github.com/apache/tvm/pull/13809#issuecomment-1396847246

   After looking at the codebase again, it would be great if we can ensure this 
PackedFunc has two args. Another approach is adding `ICHECK_EQ(args.size(), 
2)`. 
   
   Keeping PackedFunction stable and minimal will benefit the registry system 
and user experience. If you want to call it from cpp side, we have 
[API](https://github.com/apache/tvm/blob/main/src/te/operation/create_primfunc.h#L34)
 here, and no need to call PackedFunction


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