← All parts of this equation

Equation 9 · Part 6 · How Edge AI Electronics and Sensor Systems Actually Work

Decoded value

r=S (q−Z),r = S\,(q - Z),
r=S(q−Z)r=S(q-Z)

What this part means

Subtract Z from the stored code, then multiply by S. For q = 14, Z = 10, and S = 0.25, the code represents r = 0.25 × (14 − 10) = 1.00.

Its job in the formula

This part belongs to the expression shown above. Read it together with the other parts of the formula.

The passage around this formula

The arithmetic-shrinking lever is quantization. A widely used scheme maps a real-valued weight or activation r onto a low-bit integer q through an affine relationship r=S (q−Z)r = S\,(q - Z). with a scale S and a zero-point Z chosen so that ordinary 8-bit integers can represent the values a trained network actually produces. The 2018 paper that formalized this scheme for mobile and embedded inference showed that training the network with this quantization in the loop, rather than quantizing a finished floating-point model after the fact, preserves accuracy far better, and that integer-only arithmetic — no floating-point unit required anywhere in the inference path — can be implemented…

Read this part in the article →

Learn the underlying idea

Quantization maps many possible numerical values onto a smaller set of codes. It helps a small device store and process a neural network using compact integer arithmetic.

Open the illustrated quantization: from a value to an integer code guide →

Sources cited in the surrounding passage

These citations provide research context; check each source for the exact claim it supports.

Further reading for this equation