Function Snpe_IBufferAttributes_GetAlignments

Function Documentation

Snpe_TensorShape_Handle_t Snpe_IBufferAttributes_GetAlignments(Snpe_IBufferAttributes_Handle_t handle)

Gets the alignment requirement of each dimension.

Alignment per each dimension is expressed as an multiple, for example, if one particular dimension can accept multiples of 8, the alignment will be 8.

Parameters

handle[in] : Handle to access IBufferAttributes

Returns

Alignment in each dimension, in terms of multiple of number of elements