latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
tensorplay.ao.quantization.convert
- tensorplay.ao.quantization.convert(module, mapping=None, inplace=False, remove_qconfig=True)[source]
Swap calibrated float modules for their quantized counterparts.
Each target class must expose
from_float; activation qparams the quantized kernels require are resolved from the observers attached byprepare()and exposed on the float module.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

