ONE - On-device Neural Engine
|
#include <MemoryManager.h>
Public Member Functions | |
LayerScopeMemoryManager () | |
void | allocate (void) |
uint8_t * | getBuffer (const LayerScopeTensorIndex &ind) const |
void | deallocate (void) |
void | claimPlan (const LayerScopeTensorIndex &ind, uint32_t size) |
void | releasePlan (const LayerScopeTensorIndex &ind) |
Definition at line 71 of file MemoryManager.h.
onert::backend::train::LayerScopeMemoryManager::LayerScopeMemoryManager | ( | ) |
Definition at line 96 of file MemoryManager.cc.
void onert::backend::train::LayerScopeMemoryManager::allocate | ( | void | ) |
Definition at line 107 of file MemoryManager.cc.
void onert::backend::train::LayerScopeMemoryManager::claimPlan | ( | const LayerScopeTensorIndex & | ind, |
uint32_t | size | ||
) |
Definition at line 122 of file MemoryManager.cc.
References size.
void onert::backend::train::LayerScopeMemoryManager::deallocate | ( | void | ) |
Definition at line 120 of file MemoryManager.cc.
uint8_t * onert::backend::train::LayerScopeMemoryManager::getBuffer | ( | const LayerScopeTensorIndex & | ind | ) | const |
Definition at line 113 of file MemoryManager.cc.
void onert::backend::train::LayerScopeMemoryManager::releasePlan | ( | const LayerScopeTensorIndex & | ind | ) |
Definition at line 127 of file MemoryManager.cc.