masahi commented on code in PR #14109: URL: https://github.com/apache/tvm/pull/14109#discussion_r1116704997
########## include/tvm/relax/transform.h: ########## @@ -223,6 +223,8 @@ TVM_DLL Pass FuseOps(int fuse_opt_level = -1); * of a fused function after successful matching. * \param patterns The patterns to detect. The order of the patterns determines the order * of priority in which they are matched. Higher-priority patterns should come earlier in the list. + * \param checks The callback functions that takes a match result and returns a boolean value to Review Comment: Yeah, I think it's useful to pass `CallNode` as well. We can filter out matches based on call node attributes etc. -- 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]
