Function Snpe_SNPEBuilder_SetOutputTensorsForNetwork

Function Documentation

Snpe_ErrorCode_t Snpe_SNPEBuilder_SetOutputTensorsForNetwork(Snpe_SNPEBuilder_Handle_t snpeBuilderHandle, const char *networkName, Snpe_StringList_Handle_t outputTensorNames)

Sets the output tensor names.

Parameters
  • snpeBuilderHandle[in] Handle to access the SNPEBuilder object

  • networkName[in] specifies network name on which the output tensor names are to be set

  • outputTensorNames[in] List of tensor names to output. An empty list will result in producing output for the final output tensor of the model. The list will be copied.