From f381b6fc76fda618b6605c205aa3979abc56fb45 Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Fri, 6 Dec 2019 11:44:17 +0800 Subject: [PATCH] Add AIStudio demo. --- doc/prune_api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/prune_api.md b/doc/prune_api.md index a9a0ea7c..99522dad 100644 --- a/doc/prune_api.md +++ b/doc/prune_api.md @@ -63,9 +63,11 @@ for block in program.blocks: **示例:** +点击[AIStudio](https://aistudio.baidu.com/aistudio/projectDetail/200786)执行以下示例代码。 ``` import paddle.fluid as fluid +from paddle.fluid.param_attr import ParamAttr from paddleslim.prune import Pruner def conv_bn_layer(input, -- GitLab