TfLiteQuantizationParams
#include <c_api_types.h>
Legacy.
Summary
Will be deprecated in favor of TfLiteAffineQuantization
. If per-layer quantization is specified this field will still be populated in addition to TfLiteAffineQuantization
. Parameters for asymmetric quantization. Quantized values can be converted back to float using: real_value = scale * (quantized_value - zero_point)
Public attributes |
|
---|---|
scale
|
float
|
zero_point
|
int32_t
|
Public attributes
scale
float TfLiteQuantizationParams::scale
zero_point
int32_t TfLiteQuantizationParams::zero_point