You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/11/26 10:05:26 UTC
[GitHub] [tvm] sisleyli commented on pull request #13490: [Relay][Pattern] Enable rewrite_once in class:DFPatternRewrite
sisleyli commented on PR #13490:
URL: https://github.com/apache/tvm/pull/13490#issuecomment-1328018161
Just a small change, but I think it is useful:
```cpp
DFPatternRewriteComposer composer;
composer.AddRewrite<Once>();
composer.AddRewrite<Once>();
composer.AddRewrite<Multiple>();
return RewritePatterns(composer.MakeCallbacks(), expr, mod);
```
What do you think? cc @masahi
--
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: commits-unsubscribe@tvm.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org