PTQConfig

class paddle.fluid.contrib.slim.quantization.imperative.ptq_config. PTQConfig ( activation_quantizer, weight_quantizer ) [source]

The PTQ config shows how to quantize the inputs and outputs.