Lines Matching refs:qmax
18 int64_t &qmax) { in getDefaultStorageParams() argument
24 qmax = 127; in getDefaultStorageParams()
27 qmax = 255; in getDefaultStorageParams()
33 qmax = 32767; in getDefaultStorageParams()
36 qmax = 65535; in getDefaultStorageParams()
42 qmax = std::numeric_limits<int32_t>::max(); in getDefaultStorageParams()
45 qmax = std::numeric_limits<uint32_t>::max(); in getDefaultStorageParams()
66 static void getNudgedScaleAndZeroPoint(int64_t qmin, int64_t qmax, double rmin, in getNudgedScaleAndZeroPoint() argument
71 const double qmaxDouble = qmax; in getNudgedScaleAndZeroPoint()
97 nudgedZeroPoint = qmax; in getNudgedScaleAndZeroPoint()
104 assert(nudgedZeroPoint <= qmax); in getNudgedScaleAndZeroPoint()
115 int64_t qmax; in fakeQuantAttrsToType() local
117 qmin, qmax)) { in fakeQuantAttrsToType()
127 loc, flags, storageType, expressedType, 1.0, qmin, qmin, qmax); in fakeQuantAttrsToType()
132 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
136 qmin, qmax); in fakeQuantAttrsToType()
153 int64_t qmax; in fakeQuantAttrsToType() local
155 qmin, qmax)) { in fakeQuantAttrsToType()
175 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
183 quantizedDimension, qmin, qmax); in fakeQuantAttrsToType()