Function Snpe_TensorShape_Set

Function Documentation

Snpe_ErrorCode_t Snpe_TensorShape_Set(Snpe_TensorShape_Handle_t tensorShapeHandle, size_t index, size_t value)

Set a value in a TensorShape at the provided index.

Parameters
  • handle[in] : handle to tensorShape

  • index[in] : Position in the dimension array.

  • value[in] : Dimension value to set

Returns

SNPE_SUCCESS on success