Function Snpe_SNPEBuilder_SetCpuFixedPointMode

Function Documentation

Snpe_ErrorCode_t Snpe_SNPEBuilder_SetCpuFixedPointMode(Snpe_SNPEBuilder_Handle_t snpeBuilderHandle, bool cpuFxpMode)

Sets the fixed point execution mode for CPU runtime. If a floating point DLC is executed with this option set, the program will be terminated with an exception. If a quantized DLC is executed without this option set, the execution will be in floating point mode in CPU.

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

  • cpuFxpMode[in] Boolean If set to true, enables the fixed point mode.