diff --git a/src/op/tensorize.cc b/src/op/tensorize.cc index 476a0a5d67fc..230472f2ddee 100644 --- a/src/op/tensorize.cc +++ b/src/op/tensorize.cc @@ -522,7 +522,7 @@ TVM_REGISTER_API("test.op.MatchTensorizeBody") CHECK(stage->op.as()); *ret = MatchTensorizeBody(stage->op.as(), stage, - {}, + {{}}, as_unordered_map(out_dom), as_unordered_map(in_region), intrin, diff --git a/src/relay/pass/well_formed.cc b/src/relay/pass/well_formed.cc index 27b31deb4f96..99f34bdd1d2a 100644 --- a/src/relay/pass/well_formed.cc +++ b/src/relay/pass/well_formed.cc @@ -43,7 +43,7 @@ class WellFormedChecker : private ExprVisitor, PatternVisitor { struct Scope { WellFormedChecker* wfc; explicit Scope(WellFormedChecker* wfc) : wfc(wfc) { - wfc->scope.push_back({}); + wfc->scope.push_back({{}}); } ~Scope() { CHECK_GE(wfc->scope.size(), 0);