Function Snpe_TensorShapeMap_Remove

Function Documentation

Snpe_ErrorCode_t Snpe_TensorShapeMap_Remove(Snpe_TensorShapeMap_Handle_t tsmHandle, const char *name)

Removes a mapping of tensor and its name by its name.

Parameters
  • tsmhandle[in] : handle to access Tensor Shape Map

  • name[in] The name of tensor to be removed

Returns

Returns SNPE_SUCCESS if Remove operation successful

Note

If no tensor with the specified name is found, nothing is done.