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 CN Doc No.48] #6410

Closed
wants to merge 12 commits into from
Closed

[Docathon][Add CN Doc No.48] #6410

wants to merge 12 commits into from

Conversation

jiangziyan-693
Copy link

@jiangziyan-693 jiangziyan-693 commented Dec 20, 2023

PR tpyes

Others

PR changes

Docs

Description

中文文档添加任务
#6410
新增中文文档
qat_cn.rst

序号 API名称 英文文档地址
48 Paddle.quantization.QAT https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/quantization/QAT_en.html

@haoyuying @sunzhongkai588

Copy link

paddle-bot bot commented Dec 20, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6410.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@jiangziyan-693 jiangziyan-693 changed the title add cn docs of qat [Docathon][Add CN Doc No.48] Dec 20, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Dec 21, 2023
Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#6421 同样的原则进行修改

注意代码示例用copy-from的形式

docs/api/paddle/quantization/qat_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/quantization/qat_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/quantization/qat_cn.rst Outdated Show resolved Hide resolved

方法
::::::::::::
convert(model: paddle.nn.layer.layers.Layer, inplace=False, remain_weight=False)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

convert这部分,参考源码的 docstring 写吧,官网上渲染可能有点问题。需要补充 参数代码示例
image

jiangziyan-693 and others added 4 commits January 15, 2024 15:27
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>
@jiangziyan-693 jiangziyan-693 closed this by deleting the head repository Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants