ONE - On-device Neural Engine
|
Public Member Functions | |
TensorAllocPlan (IMemoryManager *memory_manager) | |
void | invalidate () |
bool | isValid () const |
void | build (const RuntimeGraph &graph) |
void | allocate (size_t kernel_index) const |
void | deallocate (size_t kernel_index) const |
Definition at line 27 of file RuntimeGraph.cpp.
|
explicit |
Definition at line 43 of file RuntimeGraph.cpp.
void luci_interpreter::RuntimeGraph::TensorAllocPlan::allocate | ( | size_t | kernel_index | ) | const |
Definition at line 85 of file RuntimeGraph.cpp.
References luci_interpreter::IMemoryManager::allocate_memory().
void luci_interpreter::RuntimeGraph::TensorAllocPlan::build | ( | const RuntimeGraph & | graph | ) |
Definition at line 48 of file RuntimeGraph.cpp.
References luci_interpreter::RuntimeGraph::invalidate().
void luci_interpreter::RuntimeGraph::TensorAllocPlan::deallocate | ( | size_t | kernel_index | ) | const |
Definition at line 94 of file RuntimeGraph.cpp.
References luci_interpreter::IMemoryManager::release_memory().
|
inline |
Definition at line 36 of file RuntimeGraph.cpp.
|
inline |
Definition at line 37 of file RuntimeGraph.cpp.