[KongchangAI]
Conceptscale factor

Scale Factor

A proportional parameter in quantization used to map floating-point values onto an integer interval; it determines the step size and range of quantization.

Timeline (last 90 days)

Nov 14

Neural network weights are usually concentrated in a relatively small range around zero, and representing them as integers together with a scale factor and a zero-point can approximately recover the original values, which is the mathematical basis for the feasibility of integer quantization.

Unverified50%
Nov 14

Scaling factors are used to map low-precision integers back to approximate floating-point values, usually computed per tensor or per channel group.

Unverified50%
Nov 12

In absmax quantization, if the maximum weight is 10.8 and is mapped to the 8-bit integer upper limit of 127, the scaling factor is approximately 11.76.

Unverified50%
Nov 12

The dequantization formula is float ≈ scale × (int - zero_point).

Unverified50%
Oct 3

The conversion helper functions in the DeepGEMM-Ascend library pack scaling factors into 16-bit integer containers in pairs, arranged in MN-major layout.

Unverified50%

All Facts (5)

Source Articles