Function Snpe_TensorShapeMap_GetTensorShape

Function Documentation

Snpe_TensorShape_Handle_t Snpe_TensorShapeMap_GetTensorShape(Snpe_TensorShapeMap_Handle_t tsmHandle, const char *name)

Returns the tensor given its name.

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

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

Returns

nullptr if no tensor with the specified name is found; otherwise, a valid Tensor Shape Handle.