ONE - On-device Neural Engine
|
#include <Allocator.h>
Public Member Functions | |
Allocator (void) | |
~Allocator (void) | |
void * | Alloc (size_t size) |
void | Free (void *p) |
const OrtAllocatorInfo * | Info (void) const |
void | LeakCheck (void) |
Allocator (const Allocator &)=delete | |
Allocator & | operator= (const Allocator &)=delete |
Definition at line 31 of file Allocator.h.
nnkit::support::onnx::Allocator::Allocator | ( | void | ) |
Definition at line 29 of file Allocator.cpp.
References Alloc(), Free(), Info(), size, and nnkit::support::onnx::Status::throwOnError().
nnkit::support::onnx::Allocator::~Allocator | ( | void | ) |
Definition at line 47 of file Allocator.cpp.
|
delete |
void * nnkit::support::onnx::Allocator::Alloc | ( | size_t | size | ) |
Definition at line 49 of file Allocator.cpp.
References size.
Referenced by Allocator().
void nnkit::support::onnx::Allocator::Free | ( | void * | p | ) |
Definition at line 65 of file Allocator.cpp.
Referenced by Allocator().
const OrtAllocatorInfo * nnkit::support::onnx::Allocator::Info | ( | void | ) | const |
Definition at line 76 of file Allocator.cpp.
Referenced by Allocator().
void nnkit::support::onnx::Allocator::LeakCheck | ( | void | ) |
Definition at line 78 of file Allocator.cpp.