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

Update qat.rst (#918)

docs:Fix code in doc
上级 5ec83b62
...@@ -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.
先完成此消息的编辑!
想要评论请 注册