ONE - On-device Neural Engine
|
#include <MemoryTracker.h>
Public Member Functions | |
uint32_t | add (const Memory *memory) |
uint32_t | size () const |
const Memory * | operator[] (size_t i) const |
Definition at line 31 of file MemoryTracker.h.
uint32_t MemoryTracker::add | ( | const Memory * | memory | ) |
Definition at line 28 of file MemoryTracker.cpp.
References ANEURALNETWORKS_BAD_DATA, LOG, and VLOG.
Referenced by ExecutionBuilder::setInputFromMemory(), ModelBuilder::setOperandValueFromMemory(), and ExecutionBuilder::setOutputFromMemory().
|
inline |
Definition at line 40 of file MemoryTracker.h.
|
inline |
Definition at line 38 of file MemoryTracker.h.
Referenced by ModelBuilder::publish(), and ExecutionBuilder::startCompute().