Metadata for Tensor cache, which by default, is named as "tensor-cache.json".
More...
#include <tensor_cache_support.h>
Metadata for Tensor cache, which by default, is named as "tensor-cache.json".
◆ Load()
static TensorCacheMetadata tvm::runtime::vm::TensorCacheMetadata::Load |
( |
const std::string & |
path | ) |
|
|
static |
Load the metadata from a specific directory.
◆ LoadFromStr()
static TensorCacheMetadata tvm::runtime::vm::TensorCacheMetadata::LoadFromStr |
( |
const std::string & |
json_str, |
|
|
const std::string & |
path |
|
) |
| |
|
static |
Load the metadata from a given JSON string.
◆ path
std::string tvm::runtime::vm::TensorCacheMetadata::path |
The path to the tensor-cache.json
file.
◆ records
std::vector<FileRecord> tvm::runtime::vm::TensorCacheMetadata::records |
The files in the Tensor cache.
The documentation for this struct was generated from the following file: