21.02
|
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 43 of file QuantizationInfo.h.
|
inline |
Default constructor.
Definition at line 46 of file QuantizationInfo.h.
Referenced by arm_compute::compute_requantization_scale_offset().
|
inline |
Constructor.
[in] | scale | Quantization scale |
[in] | offset | Quantization offset |
Definition at line 55 of file QuantizationInfo.h.
|
inline |
Checks if the scale and offset are both zero.
Definition at line 60 of file QuantizationInfo.h.
References UniformQuantizationInfo::offset, and UniformQuantizationInfo::scale.
int32_t offset |
Definition at line 66 of file QuantizationInfo.h.
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::compute_requantization_scale_offset(), ClActivationKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CLScaleKernel::configure(), ClPoolingKernel::configure(), ClHeightConcatenateKernel::configure(), ClWidthConcatenateKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), CLDequantizationLayerKernel::configure(), CLComputeAllAnchorsKernel::configure(), CLComparisonKernel::configure(), CLQuantizationLayerKernel::configure(), CLRangeKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CLReductionOperationKernel::configure(), CLBoundingBoxTransformKernel::configure(), CLDepthwiseConvolutionLayer3x3NCHWKernel::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), CLROIAlignLayerKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLDirectConvolutionLayerKernel::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), CLGEMMLowpMatrixMultiplyCore::configure(), NELSTMLayerQuantized::configure(), CLPixelWiseMultiplicationKernel::configure(), CLGEMMDeconvolutionLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLQLSTMLayer::configure(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), UniformQuantizationInfo::empty(), arm_compute::get_quantized_activation_min_max(), main(), arm_compute::operator<<(), arm_compute::operator==(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::roi_align_1x1_qasymm8(), CPPUpsampleKernel::run(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), QuantizationInfo::uniform(), NEGenerateProposalsLayer::validate(), CLGEMMLowpMatrixMultiplyCore::validate(), NEGEMMLowpMatrixMultiplyCore::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 65 of file QuantizationInfo.h.
Referenced by arm_compute::cpu::add_qasymm8_neon(), arm_compute::cpu::add_qasymm8_signed_neon(), arm_compute::cpu::add_qsymm16_neon(), arm_compute::quantization::compute_quantized_multipliers_and_shifts(), arm_compute::compute_requantization_scale_offset(), ClActivationKernel::configure(), ClWidthConcatenate2TensorsKernel::configure(), CLScaleKernel::configure(), ClHeightConcatenateKernel::configure(), ClPoolingKernel::configure(), ClWidthConcatenateKernel::configure(), ClWidthConcatenate4TensorsKernel::configure(), ClBatchConcatenateKernel::configure(), ClDepthConcatenateKernel::configure(), CLDequantizationLayerKernel::configure(), CLComputeAllAnchorsKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLComparisonKernel::configure(), CLQuantizationLayerKernel::configure(), CLRangeKernel::configure(), CLLogits1DMaxShiftExpSumKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CLReductionOperationKernel::configure(), CLBoundingBoxTransformKernel::configure(), NEDepthwiseConvolutionLayerNativeKernel::configure(), CLDepthwiseConvolutionLayer3x3NCHWKernel::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), CLROIAlignLayerKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), CLDirectConvolutionLayerKernel::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), NELSTMLayerQuantized::configure(), CLPixelWiseMultiplicationKernel::configure(), CLGEMMDeconvolutionLayer::configure(), NEQLSTMLayer::configure(), CLLSTMLayerQuantized::configure(), CLLogits1DNormKernel::configure(), CLQLSTMLayer::configure(), arm_compute::cpu::elementwise_comp_quantized_signed(), arm_compute::cpu::elementwise_op_quantized(), arm_compute::cpu::elementwise_op_quantized_signed(), UniformQuantizationInfo::empty(), CpuPoolingAssemblyWrapperKernel::is_configured(), main(), arm_compute::operator<<(), arm_compute::operator==(), arm_compute::cpu::poolingMxN_q8_neon_nhwc(), arm_compute::cpu::qasymm8_neon_activation(), arm_compute::cpu::qasymm8_signed_neon_activation(), arm_compute::cpu::qsymm16_neon_activation(), arm_compute::test::validation::reference::scale(), arm_compute::cpu::sub_qasymm8_neon(), arm_compute::cpu::sub_qasymm8_signed_neon(), arm_compute::cpu::sub_qsymm16_neon(), QuantizationInfo::uniform(), NEComputeAllAnchorsKernel::validate(), CpuPoolingAssemblyWrapperKernel::validate(), NEDepthwiseConvolutionAssemblyDispatch::validate(), NEGenerateProposalsLayer::validate(), NEGEMMLowpMatrixMultiplyCore::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().