ONE - On-device Neural Engine
|
#include <MemoryManager.h>
Public Member Functions | |
DisposableMemoryManager () | |
void | allocate (void) |
uint8_t * | getBuffer (const DisposableTensorIndex &ind) const |
void | deallocate (void) |
void | claimPlan (const DisposableTensorIndex &ind, uint32_t size) |
void | releasePlan (const DisposableTensorIndex &ind) |
std::shared_ptr< basic::Allocator > | getMemAlloc () |
Definition at line 48 of file MemoryManager.h.
onert::backend::train::DisposableMemoryManager::DisposableMemoryManager | ( | ) |
Definition at line 56 of file MemoryManager.cc.
void onert::backend::train::DisposableMemoryManager::allocate | ( | void | ) |
Definition at line 83 of file MemoryManager.cc.
void onert::backend::train::DisposableMemoryManager::claimPlan | ( | const DisposableTensorIndex & | ind, |
uint32_t | size | ||
) |
Definition at line 73 of file MemoryManager.cc.
References size.
|
inline |
Definition at line 55 of file MemoryManager.h.
uint8_t * onert::backend::train::DisposableMemoryManager::getBuffer | ( | const DisposableTensorIndex & | ind | ) | const |
Definition at line 89 of file MemoryManager.cc.
|
inline |
Definition at line 60 of file MemoryManager.h.
void onert::backend::train::DisposableMemoryManager::releasePlan | ( | const DisposableTensorIndex & | ind | ) |
Definition at line 78 of file MemoryManager.cc.