Per-Tensor Quantization
What is Per-Tensor Quantization?
In one sentence: Per-tensor quantization uses one single scale for an entire block of weights, called a tensor.
It is simple and fast, but if one value is much bigger than the rest, the scale must stretch to fit it, and all the small values lose precision.
What does Per-Tensor Quantization look like?
A whole weight matrix sharing one scale of 0.01 is per-tensor quantization.
Why does Per-Tensor Quantization matter?
It is the simplest option, but often less accurate than finer-grained methods.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/per-tensor-quantization/">Per-Tensor Quantization, explained simply</a> (The AI Math Dictionary)