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()
77 const double qmin_double = kMinScale; in PortableAsymmetricQuantizeFloats() local88 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()
701 const float qmin_double = qmin; in QuantizationParams() local717 scale = (f_max - f_min) / (qmax_double - qmin_double); in QuantizationParams()727 const float zero_point_from_min = qmin_double - f_min / scale; in QuantizationParams()731 std::abs(qmin_double) + std::abs(f_min / scale); in QuantizationParams()748 if (zero_point_double < qmin_double) { in QuantizationParams()
2366 const double qmin_double = kMinScale; in NeonAsymmetricQuantizeFloats() local2374 const double scale = (rmax - rmin) / (qmax_double - qmin_double); in NeonAsymmetricQuantizeFloats()2375 const double zero_point_from_min = qmin_double - rmin / scale; in NeonAsymmetricQuantizeFloats()2378 std::abs(qmin_double) + std::abs(rmin / scale); in NeonAsymmetricQuantizeFloats()2386 if (zero_point_double <= qmin_double) { in NeonAsymmetricQuantizeFloats()