Enum QnnDspBackend_ConfigOption_t

Enum Documentation

enum QnnDspBackend_ConfigOption_t

Values:

enumerator QNN_DSP_BACKEND_CONFIG_OPTION_FOLD_RELU_ACTIVATION_INTO_CONV_OFF = 0

The accelerator will always attempt to fold relu activation into the immediate preceding convolution operation. This optimization is correct when quantization ranges for convolution are equal or subset of the Relu operation. For graphs, where this cannot be guaranteed, the client should set this option to true

enumerator QNN_DSP_BACKEND_CONFIG_OPTION_SHORT_DEPTH_CONV_ON_HMX_OFF = 1

The accelerator will always attempt to all Convolution operation using HMX instructions. Convolution that have short depth and/or weights that are not symmetric could exhibit inaccurate results. In such cases, clients must set this option to true to guarantee correctness of the operation

enumerator QNN_DSP_BACKEND_CONFIG_OPTION_USE_SIGNED_PROCESS_DOMAIN = 2

Every APP side user process that uses a DSP via FastRPC has a corresponding dynamic user process domain on the DSP side. QNN by default opens RPC session as unsigned PD, in case this option is set to true, RPC session will be opened as signed PD (requires signed .so).

enumerator QNN_DSP_BACKEND_CONFIG_OPTION_ARCH = 3

set QnnDspBackend_DspArch_t for offline prepare mode

enumerator QNN_DSP_BACKEND_CONFIG_OPTION_UNKNOWN = 0x7fffffff

UNKNOWN enum option that must not be used.