Skip to content
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 paddle.incubate.ampdecorate and paddle.incubate.amp.prune_model API CN Doc #6222

Merged
merged 15 commits into from
Oct 16, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/api/paddle/incubate/asp/prune_model_cn.rst
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
  • Loading branch information
ooooo-create and sunzhongkai588 authored Oct 11, 2023
commit ec6352085207aab82adc6d306a02f1cb3d2c195e
2 changes: 1 addition & 1 deletion docs/api/paddle/incubate/asp/prune_model_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ prune_model

参数
:::::::::
- **model** (Program|nn.Layer) - 带有模型定义和参数的 Program 或者 paddle.nn.Layer 对象
- **model** (Program|nn.Layer) - 包含模型定义和参数的 Program 或者 paddle.nn.Layer 对象
- **n** (int,可选) - n:m 稀疏中的 n
- **m** (int,可选) - n:m 稀疏中的 m
- **mask_algo** (string,可选) - 生成掩码的函数名。默认值为 mask_1d。有效输入应为 mask_1d , mask_2d_greedy 和 mask_2d_best 之一。
ooooo-create marked this conversation as resolved.
Show resolved Hide resolved
Expand Down