TensorPlay
latest (dev)
Copy
View Markdown

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 by prepare() and exposed on the float module.

On this page

Ask DeepWiki