diff --git a/paddleslim/quant/quanters/pact.py b/paddleslim/quant/quanters/pact.py index adcf80fcb0111ebfaf9551facee3634647023f3f..0d2d48ea87ca420e546dff30f91f165010279d40 100644 --- a/paddleslim/quant/quanters/pact.py +++ b/paddleslim/quant/quanters/pact.py @@ -38,7 +38,7 @@ class PACTQuanter(QuanterFactory): Examples: .. code-block:: python from paddle.quantization import QuantConfig - from paddle.quantization.quanters import PACTQuanter + from paddleslim.quant.quanters import PACTQuanter from paddle.quantization.quanters.abs_max import FakeQuanterWithAbsMaxObserverLayer pact_quanter = PACTQuanter(quanter=FakeQuanterWithAbsMaxObserverLayer) q_config = QuantConfig(activation=pact_quanter, weight=pact_quanter)