-
Notifications
You must be signed in to change notification settings - Fork 764
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
[Docathon] Add paddle.incubate.ampdecorate
and paddle.incubate.amp.prune_model
API CN Doc
#6222
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6222.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
paddle.incubate.decorate
and paddle.incubate.prune_model
API CN Docpaddle.incubate.ampdecorate
and paddle.incubate.amp.prune_model
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.
另外需要在 PR 描述里添加 PADDLEPADDLE_PR=57973
以确保构建的预览是使用 PaddlePaddle/Paddle#57973 里 CI build 的 wheel 包
咦,等一下,这个 PR 和 PaddlePaddle/Paddle#57973 之间关系是什么?这个 PR 不依赖 PaddlePaddle/Paddle#57973 的话可以不用加 |
我需分别描述动态图和静态图两个模式的代码,依赖那个的 |
COPY-FROM paddle.incubate.amp.decorate | ||
1. 动态图模式 | ||
|
||
COPY-FROM: paddle.incubate.amp.decorate:code-example1 |
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.
如果明确是动态图和静态图这么明确的语义的话,建议使用明确的 dygraph 和 static 标签,code-example1 这种模板化的标签是不推荐的
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.
done
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>
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>
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
新增中文文档
paddle.incubate.amp.decorate
paddle.incubate.amp.prune_model
link #6193
英文文档链接
@sunzhongkai588 @mingxu1067