latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
tensorplay.ao.quantization.fake_quantize_per_channel
- tensorplay.ao.quantization.fake_quantize_per_channel(x, scales, zero_points, axis=0, quant_min=-128, quant_max=127)[source]
Applies per-channel fake quantization with fixed affine parameters.
Gradient passes through where
xlies inside its channel’s representable real range [qmin-zp, qmax-zp]*scale, else zero.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

