tkonolige opened a new pull request #7108: URL: https://github.com/apache/tvm/pull/7108
This PR adds a `name` field to both `PackedFunc` and `TypedPackedFunc`. This name defaults to `<anonymous>`, but I've also added code that sets the name for `TVM_REGISTER_GLOBAL().set_body()` and `TVM_REGISTER_GLOBAL().set_body_typed()`. With this change, the error messages for incorrect number of arguments is now a lot more clear: it prints the function name in the error message. I'm not sure if the approach I am using here makes sense. I'd like feedback on whether or not this is the correct direction to go. @tqchen @jroesch @junrushao1994 ---------------------------------------------------------------- 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]
