LESSON 30.01 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Quantization basics: scale and zero point
Watch 64 weights become small integer codes and come back with errors.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 30.01 · QUANT BAY64 WEIGHTS · 256 B · MAX |W| 1.24
01
Stage 1 of 6 · 64 weights
The layer holds 64 FP32 weights, 256 bytes. One outlier, 1.24, sits far from the rest.
Explain it simply
Each square holds one weight of the layer, and each dot on the number line is the same weight. Most weights lie between minus 0.63 and 0.5. One weight, 1.24, is far out. Quantization stores each weight as a small whole number, a code, instead of a 4-byte float.
An 8 by 8 grid of weights and a number line with one dot per weight. Most dots lie between −0.63 and 0.5; one dot, 1.24, sits far to the right.
weights, codes, scaleerroroutlier channel
Toy: the 8 × 8 weights of one layer (30.C1)
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Each weight has a row i and a column j.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.