Skip to content

Commit ffb0a84

Browse files
authored
Update pact.py (PaddlePaddle#1771)
1 parent 1432844 commit ffb0a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddleslim/quant/quanters/pact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PACTQuanter(QuanterFactory):
3838
Examples:
3939
.. code-block:: python
4040
from paddle.quantization import QuantConfig
41-
from paddle.quantization.quanters import PACTQuanter
41+
from paddleslim.quant.quanters import PACTQuanter
4242
from paddle.quantization.quanters.abs_max import FakeQuanterWithAbsMaxObserverLayer
4343
pact_quanter = PACTQuanter(quanter=FakeQuanterWithAbsMaxObserverLayer)
4444
q_config = QuantConfig(activation=pact_quanter, weight=pact_quanter)

0 commit comments

Comments
 (0)