ekalda commented on a change in pull request #8843:
URL: https://github.com/apache/tvm/pull/8843#discussion_r696503624
##########
File path: include/tvm/relay/dataflow_matcher.h
##########
@@ -63,7 +66,8 @@ class DFPatternCallbackNode : public Object {
*/
class DFPatternCallback : public ObjectRef {
public:
- TVM_DLL DFPatternCallback(DFPattern pattern, PackedFunc callback, bool
require_type);
+ TVM_DLL DFPatternCallback(DFPattern pattern, PackedFunc callback, bool
require_type,
+ bool rewrite_once);
Review comment:
Good point, I made it optional and removed the changes from the passes
that don't need it.
--
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]