sunggg commented on code in PR #15244: URL: https://github.com/apache/tvm/pull/15244#discussion_r1294923650
########## include/tvm/target/codegen.h: ########## @@ -47,6 +47,37 @@ using runtime::TVMRetValue; */ runtime::Module Build(IRModule mod, Target target); +/*! + * \brief Serialize runtime module including its submodules + * \param mod The runtime module to serialize including its import tree. + * \param include_dso By default, include the info of DSOExportable modules. If disabled, an error + * will be raised when encountering DSO modules. + */ +std::string SerializeModuleToBytes(const runtime::Module& mod, bool include_dso = true); Review Comment: Based on offline discussion, we agreed to keep `SerializeModuleToBytes` and `DeserailizeModuleFromBytes` as they are now. -- 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]
