You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "sunggg (via GitHub)" <gi...@apache.org> on 2023/12/01 22:57:32 UTC

Re: [PR] [Unity] Split DecomposeOpsForTraining into two steps [tvm]

sunggg commented on code in PR #15954:
URL: https://github.com/apache/tvm/pull/15954#discussion_r1412641600


##########
src/ir/transform.cc:
##########
@@ -531,6 +531,23 @@ Pass CreateModulePass(const runtime::TypedPackedFunc<IRModule(IRModule, PassCont
   return ModulePass(pass_func, pass_info);
 }
 
+Pass ApplyPassToFunction(Pass pass, String func_name, bool error_if_function_missing) {

Review Comment:
   This function seems useful. Can we get the `List[String]` instead of single function name so that we can generalize a little further? 



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