Function Snpe_IBufferAttributes_GetElementSize

Function Documentation

size_t Snpe_IBufferAttributes_GetElementSize(Snpe_IBufferAttributes_Handle_t handle)

Gets the buffer’s element size, in bytes.

This can be used to compute the memory size required to back this buffer.

Parameters

handle[in] : Handle to access IBufferAttributes

Returns

Element size, in bytes