-
Notifications
You must be signed in to change notification settings - Fork 837
[Docathon][Add Inplace CN Doc No.43] #7120
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 Inplace CN Doc No.43] #7120
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7120.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/api/paddle/Overview_cn.rst
Outdated
@@ -233,6 +233,7 @@ tensor 数学操作原位(inplace)版本 | |||
" :ref:`paddle.bitwise_left_shift_ <cn_api_paddle_bitwise_left_shift_>` ", "Inplace 版本的 bitwise_left_shift API,对输入 x 采用 Inplace 策略" | |||
" :ref:`paddle.bitwise_right_shift_ <cn_api_paddle_bitwise_right_shift_>` ", "Inplace 版本的 bitwise_right_shift API,对输入 x 采用 Inplace 策略" | |||
" :ref:`paddle.log_normal_ <cn_api_paddle_log_normal_>` ", "Inplace 版本的 log_normal API,对输入 x 采用 Inplace 策略" | |||
" :ref:`paddle.transpose_ <_cn_api_paddle_transpose_>` ", "Inplace 版本的 transpose API,对输入 x 采用 Inplace 策略" |
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.
- 应该放在
元素操作相关
的分类里,与数学操作无关 - 是
<cn_api_paddle_transpose_>
,引用的时候不需要加前面的下划线
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.
已修改
修复 CI 中的 codestyle 问题,用 pre-commit 可自动修复 @nuclearslippers |
谢谢指点,已修改 |
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.
这个文件不用改,是 pre-commit 自动改的嘛?按道理应该只会改 git add
后的文件,这部分先复原吧,而且这部分也和本任务无关
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.
是pre-commit自动改的,现在已经复原。麻烦再看看还有问题没,辛苦了。
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
新增了transpose__cn.rst中文文档,在Overview_cn.rst中新增transpose_说明。
issue: #7090
英文文档链接:https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/transpose__en.html
@sunzhongkai588