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 2021/11/10 06:50:27 UTC

[GitHub] [tvm] jroesch commented on a change in pull request #9326: Switch PlanDevices pass to be w.r.t. SEScopes instead of DLDeviceTypes.

jroesch commented on a change in pull request #9326:
URL: https://github.com/apache/tvm/pull/9326#discussion_r746289994



##########
File path: src/relay/backend/build_module.cc
##########
@@ -207,7 +210,7 @@ class RelayBuildModule : public runtime::ModuleNode {
     } else if (name == "optimize") {
       return PackedFunc([sptr_to_self, this](TVMArgs args, TVMRetValue* rv) {
         ICHECK_EQ(args.num_args, 2);
-        *rv = this->Optimize(args[0], args[1], this->params_);

Review comment:
       Why do we no longer need the parameters here?




-- 
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