From 7de8e8a9c9b033135f01f6036ac5490dbc25d2ad Mon Sep 17 00:00:00 2001 From: Chang Xu Date: Mon, 24 May 2021 13:38:47 +0800 Subject: [PATCH] Update single_distiller_api.rst (#771) Co-authored-by: ceci3 --- docs/zh_cn/api_cn/static/dist/single_distiller_api.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/zh_cn/api_cn/static/dist/single_distiller_api.rst b/docs/zh_cn/api_cn/static/dist/single_distiller_api.rst index 80489556..67a9e773 100644 --- a/docs/zh_cn/api_cn/static/dist/single_distiller_api.rst +++ b/docs/zh_cn/api_cn/static/dist/single_distiller_api.rst @@ -75,6 +75,7 @@ fsp_loss出自论文 `A Gift from Knowledge Distillation: Fast Optimization, Net **使用示例:** .. code-block:: python + import paddle import paddle.fluid as fluid import paddleslim.dist as dist @@ -174,6 +175,7 @@ soft_label_loss出自论文 `Distilling the Knowledge in a Neural Network