Function Snpe_SNPEBuilder_SetOutputLayersForNetwork

Function Documentation

Snpe_ErrorCode_t Snpe_SNPEBuilder_SetOutputLayersForNetwork(Snpe_SNPEBuilder_Handle_t snpeBuilderHandle, const char *networkName, Snpe_StringList_Handle_t outputLayerNames)

Sets the layers that will generate output.

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

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

  • outputLayerNames[in] List of layer names to output. An empty list will result in only the final layer of the model being the output layer. The list will be copied.