Searched refs:qmin_double (Results 1 – 4 of 4) sorted by relevance
35 const double qmin_double = qmin; in ChooseQuantizationParams() local54 const double scale = (rmax - rmin) / (qmax_double - qmin_double); in ChooseQuantizationParams()64 const double zero_point_from_min = qmin_double - rmin / scale; in ChooseQuantizationParams()67 std::abs(qmin_double) + std::abs(rmin / scale); in ChooseQuantizationParams()82 if (zero_point_double < qmin_double) { in ChooseQuantizationParams()
78 const double qmin_double = kMinScale; in PortableAsymmetricQuantizeFloats() local88 const double scale = (rmax - rmin) / (qmax_double - qmin_double); in PortableAsymmetricQuantizeFloats()89 const double zero_point_from_min = qmin_double - rmin / scale; in PortableAsymmetricQuantizeFloats()92 std::abs(qmin_double) + std::abs(rmin / scale); in PortableAsymmetricQuantizeFloats()100 if (zero_point_double < qmin_double) { in PortableAsymmetricQuantizeFloats()
501 const float qmin_double = qmin; in QuantizationParams() local517 scale = (f_max - f_min) / (qmax_double - qmin_double); in QuantizationParams()527 const float zero_point_from_min = qmin_double - f_min / scale; in QuantizationParams()531 std::abs(qmin_double) + std::abs(f_min / scale); in QuantizationParams()548 if (zero_point_double < qmin_double) { in QuantizationParams()
2206 const double qmin_double = kMinScale; in NeonAsymmetricQuantizeFloats() local2212 const double scale = (rmax - rmin) / (qmax_double - qmin_double); in NeonAsymmetricQuantizeFloats()2213 const double zero_point_from_min = qmin_double - rmin / scale; in NeonAsymmetricQuantizeFloats()2216 std::abs(qmin_double) + std::abs(rmin / scale); in NeonAsymmetricQuantizeFloats()2224 if (zero_point_double < qmin_double) { in NeonAsymmetricQuantizeFloats()