Skip to content

Commit a6fc0a0

Browse files
Update qat.rst (#918) (#919)
docs:Fix code in doc
1 parent 90bffc0 commit a6fc0a0

File tree

1 file changed

+2
-1
lines changed
  • docs/zh_cn/api_cn/dygraph/quanter

1 file changed

+2
-1
lines changed

docs/zh_cn/api_cn/dygraph/quanter/qat.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ QAT
251251

252252

253253
.. code-block:: python
254-
254+
255+
import paddle
255256
from paddleslim import PTQ
256257
from paddle.vision.models import mobilenet_v1
257258
fp32_model = mobilenet_v1(pretrained=True)

0 commit comments

Comments
 (0)