Function Snpe_SNPE_GetOutputLayerNamesForNetwork

Function Documentation

Snpe_StringList_Handle_t Snpe_SNPE_GetOutputLayerNamesForNetwork(Snpe_SNPE_Handle_t snpeHandle, const char *networkName)

Gets the output layer(s) for the network.

Parameters
  • snpeHandle[in] Handle to access the SNPE object

  • networkName[in] Network name.

Returns

A StringList of output layer names.

Note

The output layers returned by this function may be different than those specified when the network was created via the SNPEBuilder. For example, if the network was created in debug mode with no explicit output layers specified, this will contain all layers.