yongwww commented on code in PR #15511: URL: https://github.com/apache/tvm/pull/15511#discussion_r1290636397
########## include/tvm/relay/transform.h: ########## @@ -47,6 +47,18 @@ using PassInfoNode = tvm::transform::PassInfoNode; using PassContext = tvm::transform::PassContext; using PassContextNode = tvm::transform::PassContextNode; using Sequential = tvm::transform::Sequential; +using FTVMRelayToTIR = tvm::transform::Pass; +/*! + * \brief TIRToRuntime conversion specific to a TargetKind + * + * This function is responsible for scanning an IRModule for appropriate Target-specific functions + and generating a Runtime module representing the compiled output + * + * \param ir_module Unified IRModule + * \param target Target to filter on or retrieve arguments from + * \return Runtime Module containing compiled functions + */ +using FTVMTIRToRuntime = tvm::runtime::TypedPackedFunc<runtime::Module(IRModule, Target)>; Review Comment: Thanks for the inputs! I changed the code to directly use "`using FTVMTIRToRuntime = tvm::runtime::TypedPackedFunc<runtime::Module(IRModule, Target)>`;" in target.cc & codegen.cc. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
