19#ifndef TVM_RUNTIME_VM_TENSOR_CACHE_SUPPORT_H_
20#define TVM_RUNTIME_VM_TENSOR_CACHE_SUPPORT_H_
22#include <tvm/ffi/container/array.h>
23#include <tvm/ffi/function.h>
27#include <unordered_map>
50 ffi::Optional<ffi::Tensor>* staging_buffer =
nullptr)
const;
69 const std::string& path_prefix,
70 std::string* raw_data_buffer,
71 ffi::Optional<ffi::Tensor>* staging_buffer =
nullptr)
const;
91 const std::string&
path);
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition attr.h:23
DLDevice Device
Definition device_api.h:45
#define TVM_RUNTIME_DLL
Definition base.h:100
Device-independent tensor allocation, copies, views and serialization.