未验证 提交 7de8e8a9 编写于 作者: C Chang Xu 提交者: GitHub

Update single_distiller_api.rst (#771)

Co-authored-by: Nceci3 <ceci3@users.noreply.github.com>
上级 598501f8
...@@ -75,6 +75,7 @@ fsp_loss出自论文 `A Gift from Knowledge Distillation: Fast Optimization, Net ...@@ -75,6 +75,7 @@ fsp_loss出自论文 `A Gift from Knowledge Distillation: Fast Optimization, Net
**使用示例:** **使用示例:**
.. code-block:: python .. code-block:: python
import paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddleslim.dist as dist import paddleslim.dist as dist
...@@ -174,6 +175,7 @@ soft_label_loss出自论文 `Distilling the Knowledge in a Neural Network <https ...@@ -174,6 +175,7 @@ soft_label_loss出自论文 `Distilling the Knowledge in a Neural Network <https
**使用示例:** **使用示例:**
.. code-block:: python .. code-block:: python
import paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddleslim.dist as dist import paddleslim.dist as dist
...@@ -221,6 +223,7 @@ loss ...@@ -221,6 +223,7 @@ loss
**使用示例:** **使用示例:**
.. code-block:: python .. code-block:: python
import paddle import paddle
import paddle.fluid as fluid import paddle.fluid as fluid
import paddleslim.dist as dist import paddleslim.dist as dist
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册