Lines Matching refs:zero_point
80 In equation (1), plugging `real_value = 0` and `quantized_value = zero_point`,
84 0 = A * zero_point + B
90 zero_point = -B / A
95 `zero_point` can be exactly equal to it. Quite awkward!
98 `quantized_value = zero_point`, we get:
101 0 = C * (zero_point + D)
108 0 = zero_point + D
111 In other words, `D = -zero_point`. This suggests rewriting the quantization
116 real_value = scale * (quantized_value - zero_point) (3)
120 `-zero_point`.
123 representable is vacuously satisfied: `zero_point` is by definition one of the
130 * `zero_point` is integral, more specifically is one of the possible quantized
223 entries, and their `zero_point` quantization parameters. Typically, all of these
228 having to subtract these `zero_point` constants in this inner loop; refer to
232 `zero_point` constants out of this accumulation loop, so that it simplifies to