TfLiteCustomAllocation
#include <common.h>
Defines a custom memory allocation not owned by the runtime.
Summary
data
should be aligned to kDefaultTensorAlignment defined in lite/util.h. (Currently 64 bytes) NOTE: See Interpreter::SetCustomAllocationForTensor
for details on usage.
Public attributes |
|
---|---|
bytes
|
size_t
|
data
|
void *
|
Public attributes
bytes
size_t TfLiteCustomAllocation::bytes
data
void * TfLiteCustomAllocation::data