Skip to content

Commit

Permalink
rename to task extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Mar 11, 2022
1 parent 57f2882 commit 3c5a318
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
namespace tvm {
namespace relay {
namespace backend {

namespace metaschedule {

using meta_schedule::ExtractedTask;
Expand Down Expand Up @@ -63,12 +64,13 @@ Array<ExtractedTask> ExtractTask(IRModule mod, Target target, Map<String, Consta
return tasks;
}

} // namespace metaschedule

TVM_REGISTER_GLOBAL("relay.backend.MetaScheduleExtractTask")
.set_body_typed([](IRModule mod, Target target, Map<String, Constant> params) {
return ExtractTask(mod, target, params);
return metaschedule::ExtractTask(mod, target, params);
});

} // namespace metaschedule
} // namespace backend
} // namespace relay
} // namespace tvm

0 comments on commit 3c5a318

Please sign in to comment.