-
Notifications
You must be signed in to change notification settings - Fork 750
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docathon][Add CN Doc No.64-67] #6224
[Docathon][Add CN Doc No.64-67] #6224
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6224.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
参数 | ||
::::::::: | ||
- **name** (string|Layer) - 需要支持的 layer 的名称或类型。 如果 layer 是 Layer,那么它将在内部转为字符串。ASP 将使用这个名称来匹配参数的名称并调用其相应的剪枝函数。 | ||
- **pruning_func** (function,可选) - 一个接收五个参数(weight_nparray、m、n、func_name、param_name)的函数类型,weight_nparray 是 nparray 格式的权重,param_name 是权重的名称,m、n 和 func_name,详细信息请参见 :ref:`cn_api_paddle_incubate_asp_prune_model`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- **pruning_func** (function,可选) - 一个接收五个参数(weight_nparray、m、n、func_name、param_name)的函数类型,weight_nparray 是 nparray 格式的权重,param_name 是权重的名称,m、n 和 func_name,详细信息请参见 :ref:`cn_api_paddle_incubate_asp_prune_model`。 | |
- **pruning_func** (function,可选) - 一个接收五个参数(weight_nparray、m、n、func_name、param_name)的函数类型,weight_nparray 是 nparray 格式的权重,param_name 是 weight、m、n 、func_name 的名称,详细信息请参见 :ref:`cn_api_paddle_incubate_asp_prune_model`。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
@SigureMo 一师傅看看..为啥 copy-from 都不成功。 |
…te/docs into ooooo/add_64_67_api_cn_doc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add
paddle.incubate.asp.reset_excluded_layers
paddle.incubate.asp.set_excluded_layers
paddle.incubate.asp.add_supported_layer
paddle.incubate.asp.add_supported_layer
link #6193
en_doc
@sunzhongkai588 @mingxu1067