From 69e3e28a312cdaa556021ae163e1790e243c6e1b Mon Sep 17 00:00:00 2001 From: whs Date: Fri, 12 Nov 2021 08:40:30 +0800 Subject: [PATCH] Update qat.rst (#918) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit docs:Fix code in doc --- docs/zh_cn/api_cn/dygraph/quanter/qat.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/zh_cn/api_cn/dygraph/quanter/qat.rst b/docs/zh_cn/api_cn/dygraph/quanter/qat.rst index 3100fd9c..448ecb75 100644 --- a/docs/zh_cn/api_cn/dygraph/quanter/qat.rst +++ b/docs/zh_cn/api_cn/dygraph/quanter/qat.rst @@ -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) -- GitLab