From a6fc0a085e987ba50344f9333395ab9e078ca869 Mon Sep 17 00:00:00 2001 From: whs Date: Fri, 12 Nov 2021 08:42:47 +0800 Subject: [PATCH] Update qat.rst (#918) (#919) 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