24.02.1
|
Quantization info when assuming per layer quantization. More...
#include <QuantizationInfo.h>
Public Member Functions | |
UniformQuantizationInfo () | |
Default constructor. More... | |
UniformQuantizationInfo (float scale, int32_t offset) | |
Constructor. More... | |
bool | empty () const |
Checks if the scale and offset are both zero. More... | |
Data Fields | |
float | scale |
int32_t | offset |
Quantization info when assuming per layer quantization.
Definition at line 42 of file QuantizationInfo.h.
|
inline |
Default constructor.
Definition at line 45 of file QuantizationInfo.h.
|
inline |
|
inline |
Checks if the scale and offset are both zero.
Definition at line 57 of file QuantizationInfo.h.
References UniformQuantizationInfo::offset, and UniformQuantizationInfo::scale.
int32_t offset |
Definition at line 63 of file QuantizationInfo.h.
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), arm_compute::cpu::avg_poolingMxNxD_q8_neon_ndhwc(), arm_compute::compute_requantization_scale_offset(), ClTransposedConvolutionKernel::configure(), ClElementWiseUnaryKernel::configure(), ClMatMulLowpNativeMMULKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), ClPool2dKernel::configure(), ClPool3dKernel::configure(), ClHeightConcatenateKernel::configure(), ClQuantizeKernel::configure(), ClWidthConcatenateKernel::configure(), ClActivationKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), ClMatMulLowpNativeKernel::configure(), CLComparisonKernel::configure(), ClDirectConv2dKernel::configure(), ClDirectConv3dKernel::configure(), ClMulKernel::configure(), CLBoundingBoxTransformKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLROIPoolingLayerKernel::configure(), CLROIAlignLayerKernel::configure(), ClGemmLowpMatrixMultiplyCore::configure(), NELSTMLayerQuantized::configure(), CpuGemmLowpMatrixMultiplyCore::configure(), CLGEMMDeconvolutionLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLQLSTMLayer::configure(), arm_compute::test::validation::reference::dequantization_layer(), Qasymm8QuantizationHelper< QUANTIZED_TYPE >::dequantize(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op< int8_t >(), arm_compute::cpu::elementwise_op< uint8_t >(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), UniformQuantizationInfo::empty(), arm_compute::get_quantized_activation_min_max(), arm_compute::quantization::get_quantized_asymmetric_output_min_max(), main(), arm_compute::cpu::max_poolingMxNxD_q8_neon_ndhwc(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_meanstddevnorm(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::operator<<(), arm_compute::operator==(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), Qasymm8QuantizationHelper< QUANTIZED_TYPE >::quantize(), arm_compute::cpu::roi_align_1x1_qasymm8(), CPPUpsampleKernel::run(), arm_compute::test::validation::suggest_mac_dst_q_info_and_bias(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), QuantizationInfo::uniform(), ClGemmLowpMatrixMultiplyCore::validate(), NEGenerateProposalsLayer::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), NELSTMLayerQuantized::validate(), CLGenerateProposalsLayer::validate(), CLLSTMLayerQuantized::validate(), NEQLSTMLayer::validate(), arm_compute::validate(), CLQLSTMLayer::validate(), arm_compute::vdequantize(), arm_compute::vquantize(), arm_compute::vquantize_qasymm16(), and arm_compute::vquantize_signed().
float scale |
Definition at line 62 of file QuantizationInfo.h.
Referenced by arm_compute::cpu::add_qasymm8_signed_sve2(), arm_compute::cpu::add_qasymm8_sve2(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::cpu::add_qsymm16_sve2(), arm_compute::cpu::add_sub_qasymm8_neon(), arm_compute::cpu::add_sub_qasymm8_signed_neon(), arm_compute::cpu::avg_poolingMxNxD_q8_neon_ndhwc(), arm_compute::quantization::compute_quantized_multipliers_and_shifts(), arm_compute::compute_requantization_scale_offset(), ClTransposedConvolutionKernel::configure(), ClElementWiseUnaryKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), ClMatMulLowpNativeMMULKernel::configure(), ClPool3dKernel::configure(), ClPool2dKernel::configure(), ClQuantizeKernel::configure(), ClWidthConcatenateKernel::configure(), ClHeightConcatenateKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClActivationKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), ClMatMulLowpNativeKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLComparisonKernel::configure(), ClDirectConv2dKernel::configure(), ClDirectConv3dKernel::configure(), ClMulKernel::configure(), CLBoundingBoxTransformKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLROIPoolingLayerKernel::configure(), CLROIAlignLayerKernel::configure(), NELSTMLayerQuantized::configure(), CpuGemmLowpMatrixMultiplyCore::configure(), CLGEMMDeconvolutionLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLQLSTMLayer::configure(), Qasymm8QuantizationHelper< QUANTIZED_TYPE >::dequantize(), arm_compute::cpu::directconv3d_quantized_neon_ndhwc(), arm_compute::cpu::elementwise_arithmetic_quantized_op(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_comparison_quantized_op(), arm_compute::cpu::elementwise_op< int8_t >(), arm_compute::cpu::elementwise_op< uint8_t >(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), UniformQuantizationInfo::empty(), main(), arm_compute::cpu::max_poolingMxNxD_q8_neon_ndhwc(), arm_compute::cpu::neon_qasymm8_activation(), arm_compute::cpu::neon_qasymm8_meanstddevnorm(), arm_compute::cpu::neon_qasymm8_signed_activation(), arm_compute::cpu::neon_qsymm16_activation(), arm_compute::cpu::neon_softmax_quantized(), arm_compute::operator<<(), arm_compute::operator==(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), Qasymm8QuantizationHelper< QUANTIZED_TYPE >::quantize(), arm_compute::quantize_qsymm8(), arm_compute::cpu::sub_qsymm16_neon(), arm_compute::test::validation::suggest_mac_dst_q_info_and_bias(), arm_compute::cpu::sve2_qasymm8_activation(), arm_compute::cpu::sve2_qasymm8_signed_activation(), arm_compute::cpu::sve2_qsymm16_activation(), arm_compute::cpu::sve2_softmax_logits_1d_quantized(), QuantizationInfo::uniform(), NEGenerateProposalsLayer::validate(), CpuGemmLowpMatrixMultiplyCore::validate(), NELSTMLayerQuantized::validate(), CLGenerateProposalsLayer::validate(), CLLSTMLayerQuantized::validate(), NEQLSTMLayer::validate(), arm_compute::validate(), CLQLSTMLayer::validate(), arm_compute::vdequantize(), arm_compute::vquantize(), arm_compute::vquantize_qasymm16(), arm_compute::vquantize_qsymm16(), and arm_compute::vquantize_signed().