Function Snpe_TensorShapeMap_Add¶
Defined in File TensorShapeMap.h
Function Documentation¶
-
Snpe_ErrorCode_t Snpe_TensorShapeMap_Add(Snpe_TensorShapeMap_Handle_t tsmHandle, const char *name, Snpe_TensorShape_Handle_t tsHandle)¶
Adds a name and the corresponding tensor pointer to the map.
- Parameters
tsmhandle – [in] : handle to access Tensor Shape Map
name – [in] The name of the tensor
tsHandle – [in] : Handle to access Tensor Shape
- Returns
Returns SNPE_SUCCESS if Add operation successful
Note
If a tensor with the same name already exists, no new tensor is added.