Enum QnnGpu_Precision_t¶
Defined in File QnnGpuGraph.h
Enum Documentation¶
-
enum QnnGpu_Precision_t¶
An enum which defines the different tensor optimization options. A tensor may be optimized to the specified QnnGpu_Precision_t when it is a graph tensor that is not a graph input or a graph output and does not connect two operations from different op packages.
Values:
-
enumerator QNN_GPU_PRECISION_FP32 = 0¶
Sets the precision mode to floating point 32-bit (FP32)
-
enumerator QNN_GPU_PRECISION_FP16 = 1¶
Sets the precision mode to floating point 16-bit (FP16)
-
enumerator QNN_GPU_PRECISION_HYBRID = 2¶
Sets the precision mode to FP16 for storage and FP32 for calculations.
-
enumerator QNN_GPU_PRECISION_USER_PROVIDED = 3¶
Uses the tensor data type provided by the user (default)
-
enumerator QNN_GPU_PRECISION_FP32 = 0¶