未验证 提交 a6fc0a08 编写于 作者: W whs 提交者: GitHub

Update qat.rst (#918) (#919)

docs:Fix code in doc
上级 90bffc0a
...@@ -251,7 +251,8 @@ QAT ...@@ -251,7 +251,8 @@ QAT
.. code-block:: python .. code-block:: python
import paddle
from paddleslim import PTQ from paddleslim import PTQ
from paddle.vision.models import mobilenet_v1 from paddle.vision.models import mobilenet_v1
fp32_model = mobilenet_v1(pretrained=True) fp32_model = mobilenet_v1(pretrained=True)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册