Function Snpe_SNPEBuilder_SetDebugMode

Function Documentation

Snpe_ErrorCode_t Snpe_SNPEBuilder_SetDebugMode(Snpe_SNPEBuilder_Handle_t snpeBuilderHandle, int debugMode)

Sets the debug mode of the runtime.

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

  • debugMode[in] This enables debug mode for the runtime. It does two things. For an empty outputLayerNames list, all layers will be output. It might also disable some internal runtime optimizations (e.g., some networks might be optimized by combining layers, etc.).