Metadata for Tensor cache, which by default, is named as "tensor-cache.json".
More...
#include <tensor_cache_support.h>
|
| struct | FileRecord |
| | Each shard of Tensor cache, which by default, is named as "params_shard_x.bin". More...
|
| |
|
| 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".
◆ Load()
Load the metadata from a specific directory.
◆ LoadFromStr()
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: