Enum TfLiteQnnDelegateHtpOptimizationStrategy

Enum Documentation

enum TfLiteQnnDelegateHtpOptimizationStrategy

Defines the optimization strategy used by the HTP backend. kHtpOptimizeForInference will have longer preparation time, but more optimal graph. kHtpOptimizeForPrepare will have shorter preparation time, but less optimal graph. kHtpOptimizeForInferenceO3 will take into account QNN_HTP_DEVICE_CONFIG_OPTION_SOC configuration when possible. When SOC information is taken into account, O3 configuration is expected to provide more optimal graph in most cases, but may result in less optimal graph in some cases. Please check HTP section in Qnn docs for more detail.

Values:

enumerator kHtpOptimizeForInference = 0
enumerator kHtpOptimizeForPrepare
enumerator kHtpOptimizeForInferenceO3