Function Snpe_TensorMap_Add¶
Defined in File TensorMap.h
Function Documentation¶
-
void Snpe_TensorMap_Add(Snpe_TensorMap_Handle_t handle, const char *name, Snpe_ITensor_Handle_t tensorHandle)¶
Adds a name and the corresponding tensor pointer to the map.
- Parameters
handle – [in] : Handle to tensorMap
name – [in] : The name of the tensor
tensorHandle – [in] : Handle to access ITensor
Note
If a tensor with the same name already exists, the tensor is replaced with the existing tensor.