-
Notifications
You must be signed in to change notification settings - Fork 766
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.60-61] #6211
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6211.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
- **begin_norm_axis** (int) - 归一化的起始轴,默认为 1。 | ||
- **bias** (可选|Tensor) - 前一层的偏置,用于融合。 | ||
- **residual** (可选|Tensor) - 输入的残差,用于融合。 | ||
- **quant_scale** (float) - 量化比例。 |
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.
量化缩放因子
- **begin_norm_axis** (int) - 归一化的起始轴,默认为 1。 | ||
- **bias** (可选|Tensor) - 前一层的偏置,用于融合。 | ||
- **residual** (可选|Tensor) - 输入的残差,用于融合。 | ||
- **quant_scale** (float) - 量化比例。 |
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.
量化缩放因子
- **residual** (可选|Tensor) - 输入的残差,用于融合。 | ||
- **quant_scale** (float) - 量化比例。 | ||
- **quant_round_type** (float) - 量化四舍五入类型。 | ||
- **quant_max_bound** (float) - 量化的最大边界进行裁剪。 |
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.
量化裁剪的最大/最小边界值,下同
- **epsilon** (float) - 一个小的浮点数,用于避免除以零。 | ||
- **residual_alpha** (float) - 用于残差的缩放因子,默认为 1。 | ||
- **begin_norm_axis** (int) - 归一化的起始轴,默认为 1。 | ||
- **bias** (可选|Tensor) - 前一层的偏置,用于融合。 |
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.
用于融合,这句可以都删了
@MARD1NO Down |
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>
Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
fix Symbol_Error
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
PR types
Others
PR changes
Docs
Description
中文文档添加任务
#6193
新增中文文档:
英文文档链接:
备注
通过参考相关资料,感觉这两个 API 都是归一化(Normalization)的方式。
目前二者都是处于孵化阶段(incubate)的 API ,不太确定 Overview 这里的正确分类,参考其他paddle/doc中的 fused 同类 API 没有在 Overview 中添加相关描述。
@MARD1NO @sunzhongkai588