latest (dev)
Copy
Latest development documentation · Updated 2026-10-08
tensorplay.ao.quantization.quantize
- tensorplay.ao.quantization.quantize(model, run_fn, run_args, mapping=None, inplace=False)[source]
Prepare, calibrate through
run_fn(*run_args)and convert.Only submodules carrying a
qconfigare quantized; attach qconfigs (or pass aqconfig_dictthroughpropagate_qconfig_()) before calling.
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

