tvm
Namespaces | Functions
serialization.h File Reference
#include <tvm/runtime/c_runtime_api.h>
#include <tvm/runtime/object.h>
#include <string>
Include dependency graph for serialization.h:

Go to the source code of this file.

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 

Functions

std::string tvm::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 object More...
 
runtime::ObjectRef tvm::LoadJSON (std::string json_str)
 Internal implementation of LoadJSON Load tvm Node object from json and return a shared_ptr of Node. More...
 

Detailed Description

Utility functions for serialization.