This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 9a71092585 Move FlattenAtrousConv before AlterOpLayout in the default
opt pipeline. (#11706)
9a71092585 is described below
commit 9a71092585e48c4f774ae8f433f67e4e183c5ce3
Author: Alexey Voronov <[email protected]>
AuthorDate: Tue Jun 14 22:34:34 2022 +0300
Move FlattenAtrousConv before AlterOpLayout in the default opt pipeline.
(#11706)
Co-authored-by: Andrey Malyshev <[email protected]>
Co-authored-by: Andrey Malyshev <[email protected]>
---
src/relay/backend/utils.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/relay/backend/utils.cc b/src/relay/backend/utils.cc
index 133f9a9fc3..3c6e642e84 100644
--- a/src/relay/backend/utils.cc
+++ b/src/relay/backend/utils.cc
@@ -250,6 +250,7 @@ Array<Pass> GetPassPrefix(bool is_homogeneous, bool is_vm) {
pass_seqs.push_back(transform::SimplifyExpr());
pass_seqs.push_back(transform::CanonicalizeCast());
pass_seqs.push_back(transform::CanonicalizeOps());
+ pass_seqs.push_back(transform::FlattenAtrousConv());
// Alter layout transformation is currently only applied to homogeneous
execution.
if (is_homogeneous) {
@@ -263,7 +264,6 @@ Array<Pass> GetPassPrefix(bool is_homogeneous, bool is_vm) {
pass_seqs.push_back(transform::FastMath());
pass_seqs.push_back(transform::FoldConstant());
- pass_seqs.push_back(transform::FlattenAtrousConv());
return pass_seqs;
}