#include <c_api_types.h>
Legacy.
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
|
float TfLiteQuantizationParams::scale
int32_t TfLiteQuantizationParams::zero_point