24 #ifndef TVM_NODE_SERIALIZATION_H_ 25 #define TVM_NODE_SERIALIZATION_H_ 39 TVM_DLL std::string
SaveJSON(
const runtime::ObjectRef& node);
48 TVM_DLL runtime::ObjectRef
LoadJSON(std::string json_str);
51 #endif // TVM_NODE_SERIALIZATION_H_ runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
runtime::ObjectRef LoadJSON(std::string json_str)
Internal implementation of LoadJSON Load tvm Node object from json and return a shared_ptr of Node...
std::string SaveJSON(const runtime::ObjectRef &node)
save the node as well as all the node it depends on as json. This can be used to serialize any TVM ob...
A managed object in the TVM runtime.