|
tvm
|
Metadata for Tensor cache, which by default, is named as "tensor-cache.json". More...
#include <tensor_cache_support.h>
Classes | |
| struct | FileRecord |
| Each shard of Tensor cache, which by default, is named as "params_shard_x.bin". More... | |
Static Public Member Functions | |
| static TVM_RUNTIME_EXTRA_DLL TensorCacheMetadata | Load (const std::string &path) |
| Load the metadata from a specific directory. | |
| static TVM_RUNTIME_EXTRA_DLL TensorCacheMetadata | LoadFromStr (const std::string &json_str, const std::string &path) |
| Load the metadata from a given JSON string. | |
Public Attributes | |
| std::vector< FileRecord > | records |
| The files in the Tensor cache. | |
| std::string | path |
The path to the tensor-cache.json file. | |
Metadata for Tensor cache, which by default, is named as "tensor-cache.json".
|
static |
Load the metadata from a specific directory.
|
static |
Load the metadata from a given JSON string.
| std::string tvm::runtime::vm::TensorCacheMetadata::path |
The path to the tensor-cache.json file.
| std::vector<FileRecord> tvm::runtime::vm::TensorCacheMetadata::records |
The files in the Tensor cache.