TfLiteAffineQuantization
#include <common.h>
Parameters for asymmetric quantization across a dimension (i.e per output channel quantization).
Summary
quantized_dimension specifies which dimension the scales and zero_points correspond to. For a particular value in quantized_dimension, quantized values can be converted back to float using: real_value = scale * (quantized_value - zero_point)
Public attributes |
|
---|---|
quantized_dimension
|
int32_t
|
scale
|
|
zero_point
|
Public attributes
quantized_dimension
int32_t TfLiteAffineQuantization::quantized_dimension
scale
TfLiteFloatArray * TfLiteAffineQuantization::scale
zero_point
TfLiteIntArray * TfLiteAffineQuantization::zero_point