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