Function Snpe_TensorMap_GetTensor_Ref

Function Documentation

Snpe_ITensor_Handle_t Snpe_TensorMap_GetTensor_Ref(Snpe_TensorMap_Handle_t handle, const char *name)

Returns the tensor given its name.

Parameters
  • handle[in] : Handle to tensorMap

  • name[in] : The name of the tensor to get.

Returns

nullptr if no tensor with the specified name is found; otherwise, a valid pointer to the tensor.