Function TfLiteQnnDelegateAllocCustomMem

Function Documentation

void *TfLiteQnnDelegateAllocCustomMem(size_t bytes, size_t alignment)

Allocate specific tensors (usually graph inputs and outputs) on shared memory. Users are responsible to allocate “enough” tensor bytes, and set alignment as kDefaultTensorAlignment. The function returns a valid pointer if allocation is successful.

Note that this is an experimental feature.