Searched refs:legacy_quantization (Results 1 – 2 of 2) sorted by relevance
61 const TfLiteQuantizationParams& legacy_quantization) { in GetQuantizationFromLegacy() argument68 affine_quantization->scale->data[0] = legacy_quantization.scale; in GetQuantizationFromLegacy()69 affine_quantization->zero_point->data[0] = legacy_quantization.zero_point; in GetQuantizationFromLegacy()
120 TfLiteQuantizationParams legacy_quantization; in GetLegacyQuantization() local121 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()