Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/
Dinterpreter.cc61 const TfLiteQuantizationParams& legacy_quantization) { in GetQuantizationFromLegacy() argument
68 affine_quantization->scale->data[0] = legacy_quantization.scale; in GetQuantizationFromLegacy()
69 affine_quantization->zero_point->data[0] = legacy_quantization.zero_point; in GetQuantizationFromLegacy()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc120 TfLiteQuantizationParams legacy_quantization; in GetLegacyQuantization() local
121 legacy_quantization.scale = 0; in GetLegacyQuantization()
122 legacy_quantization.zero_point = 0; in GetLegacyQuantization()
127 return legacy_quantization; in GetLegacyQuantization()
136 return legacy_quantization; in GetLegacyQuantization()
140 legacy_quantization.scale = affine_quantization->scale->data[0]; in GetLegacyQuantization()
141 legacy_quantization.zero_point = affine_quantization->zero_point->data[0]; in GetLegacyQuantization()
142 return legacy_quantization; in GetLegacyQuantization()