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

size_t
void *

Public attributes

bytes

size_t TfLiteCustomAllocation::bytes

data

void * TfLiteCustomAllocation::data
Design a Mobile Site
View Site in Mobile | Classic
Share by: