Lines Matching refs:scale
67 double rmax, double &scale, in getNudgedScaleAndZeroPoint() argument
72 scale = (rmax - rmin) / (qmaxDouble - qminDouble); in getNudgedScaleAndZeroPoint()
81 const double zeroPointFromMin = qminDouble - rmin / scale; in getNudgedScaleAndZeroPoint()
83 std::abs(qminDouble) + std::abs(rmin / scale); in getNudgedScaleAndZeroPoint()
84 const double zeroPointFromMax = qmaxDouble - rmax / scale; in getNudgedScaleAndZeroPoint()
86 std::abs(qmaxDouble) + std::abs(rmax / scale); in getNudgedScaleAndZeroPoint()
130 double scale; in fakeQuantAttrsToType() local
132 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
135 expressedType, scale, nudgedZeroPoint, in fakeQuantAttrsToType()
173 double scale; in fakeQuantAttrsToType() local
175 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
176 scales.push_back(scale); in fakeQuantAttrsToType()