Struct QnnHtpGraph_OptimizationOption_t¶
Defined in File QnnHtpGraph.h
Struct Documentation¶
-
struct QnnHtpGraph_OptimizationOption_t¶
Struct describing the set of optimization types and the values associated with each optimization type.
Below is the Map between QnnHtpGraph_OptimizationType_t and allowable values:
#
OptimizationType option
Allowable values
1
QNN_HTP_GRAPH_OPTIMIZATION_TYPE_SCHEDULE_THRESHOLD
Reserved
2
QNN_HTP_GRAPH_OPTIMIZATION_TYPE_FINALIZE_RETRIES
Reserved
3
QNN_HTP_GRAPH_OPTIMIZATION_TYPE_FINALIZE_OPTIMIZATION_FLAG
Defines the optimization strategy used by the HTP backend
1 = Faster preparation time, less optimal graph
2 = Longer preparation time, more optimal graph
- 3 = Longest preparation time, most likely even more optimal graph:
QNN_HTP_DEVICE_CONFIG_OPTION_SOC configuration will be taken into account when possible, details see HTP Backend Specific Page
4
QNN_HTP_GRAPH_OPTIMIZATION_TYPE_ENABLE_DLBC
Reserved
5
QNN_HTP_GRAPH_OPTIMIZATION_TYPE_ENABLE_DLBC_WEIGHTS
Enables DLBC weights compression