From ffb0a8403b28a5444ea242b8afd83b2f27095f79 Mon Sep 17 00:00:00 2001 From: Sijun He Date: Mon, 3 Jul 2023 09:47:18 +0800 Subject: [PATCH] Update pact.py (#1771) --- paddleslim/quant/quanters/pact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddleslim/quant/quanters/pact.py b/paddleslim/quant/quanters/pact.py index adcf80fc..0d2d48ea 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) -- GitLab