Function Snpe_TensorShape_CreateDimsSize

Function Documentation

Snpe_TensorShape_Handle_t Snpe_TensorShape_CreateDimsSize(const size_t *dims, size_t size)

Creates a new shape with a list of dims specified in array

Parameters
  • dims[in] The dimensions are specified in which the last element of the vector represents the fastest varying dimension and the zeroth element represents the slowest varying, etc.

  • size[in] Size of the array.

Returns

the handle to the created TensorShape