Searched refs:scaling_factor_inv (Results 1 – 3 of 3) sorted by relevance
337 const float scaling_factor_inv = in SymmetricQuantizeFloatsToInt16() local344 static_cast<int32_t>(TfLiteRound(data[i] * scaling_factor_inv)); in SymmetricQuantizeFloatsToInt16()608 float scaling_factor_inv = in SymmetricBiasQuantize() local612 tflite::SafeCast<BiasType>(TfLiteRound(data[idx] * scaling_factor_inv)); in SymmetricBiasQuantize()
62 const float scaling_factor_inv = kScale / range; in PortableSymmetricQuantizeFloats() local65 static_cast<int32_t>(TfLiteRound(values[i] * scaling_factor_inv)); in PortableSymmetricQuantizeFloats()110 const float scaling_factor_inv = 1.0 / *scaling_factor; in PortableAsymmetricQuantizeFloats() local113 TfLiteRound(*offset + values[i] * scaling_factor_inv)); in PortableAsymmetricQuantizeFloats()
2311 const float scaling_factor_inv = kScale / range; in NeonSymmetricQuantizeFloats() local2317 const float32x4_t q_factor_f32x4 = vmovq_n_f32(scaling_factor_inv); in NeonSymmetricQuantizeFloats()2353 static_cast<int32>(TfLiteRound(scaling_factor_inv * values[i])); in NeonSymmetricQuantizeFloats()2399 const float scaling_factor_inv = in NeonAsymmetricQuantizeFloats() local2401 const float32x4_t q_factor_f32x4 = vmovq_n_f32(scaling_factor_inv); in NeonAsymmetricQuantizeFloats()2436 *offset + TfLiteRound(scaling_factor_inv * values[i])); in NeonAsymmetricQuantizeFloats()