Function Snpe_ITensor_GetShape

Function Documentation

Snpe_TensorShape_Handle_t Snpe_ITensor_GetShape(Snpe_ITensor_Handle_t tensorHandle)

Gets the shape of this tensor.

The last element of the vector represents the fastest varying dimension and the zeroth element represents the slowest varying dimension, etc.

Parameters

tensorHandle[in] : Handle to access ITensor

Returns

A TensorShape handle holding the tensor dimensions.