tqchen commented on code in PR #15244:
URL: https://github.com/apache/tvm/pull/15244#discussion_r1262646469


##########
include/tvm/target/codegen.h:
##########
@@ -77,6 +84,16 @@ std::string PackImportsToC(const runtime::Module& m, bool 
system_lib,
 runtime::Module PackImportsToLLVM(const runtime::Module& m, bool system_lib,
                                   const std::string& target_triple,
                                   const std::string& c_symbol_prefix = "");
+
+/*
+ * Encode TVM runtime module to base64 stream
+ */
+std::string serialize(tvm::runtime::Module module);
+
+/*
+ * Decode TVM runtime module from base64 stream
+ */
+runtime::Module deserialize(std::string state);

Review Comment:
   DeserializeModuleFromBase64



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

Reply via email to