Home
last modified time | relevance | path

Searched refs:legacy_quantization (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc78 TfLiteQuantizationParams legacy_quantization; in GetLegacyQuantization() local
79 legacy_quantization.scale = 0; in GetLegacyQuantization()
80 legacy_quantization.zero_point = 0; in GetLegacyQuantization()
85 return legacy_quantization; in GetLegacyQuantization()
94 return legacy_quantization; in GetLegacyQuantization()
98 legacy_quantization.scale = affine_quantization->scale->data[0]; in GetLegacyQuantization()
99 legacy_quantization.zero_point = affine_quantization->zero_point->data[0]; in GetLegacyQuantization()
100 return legacy_quantization; in GetLegacyQuantization()
/external/tensorflow/tensorflow/lite/
Dinterpreter.cc41 const TfLiteQuantizationParams& legacy_quantization) { in GetQuantizationFromLegacy() argument
48 affine_quantization->scale->data[0] = legacy_quantization.scale; in GetQuantizationFromLegacy()
49 affine_quantization->zero_point->data[0] = legacy_quantization.zero_point; in GetQuantizationFromLegacy()