Skip to content

Commit

Permalink
Update qat.rst (#918) (#919)
Browse files Browse the repository at this point in the history
docs:Fix code in doc
  • Loading branch information
wanghaoshuang authored Nov 12, 2021
1 parent 90bffc0 commit a6fc0a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/zh_cn/api_cn/dygraph/quanter/qat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ QAT


.. code-block:: python
import paddle
from paddleslim import PTQ
from paddle.vision.models import mobilenet_v1
fp32_model = mobilenet_v1(pretrained=True)
Expand Down

0 comments on commit a6fc0a0

Please sign in to comment.