Skip to content

Conversation

nuclearslippers
Copy link
Contributor

新增了transpose__cn.rst中文文档,在Overview_cn.rst中新增transpose_说明。
issue: #7090
英文文档链接:https://www.paddlepaddle.org.cn/documentation/docs/en/develop/api/paddle/transpose__en.html
@sunzhongkai588

Copy link

paddle-bot bot commented Mar 19, 2025

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

@CLAassistant
Copy link

CLAassistant commented Mar 19, 2025

CLA assistant check
All committers have signed the CLA.

@@ -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 策略"
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • 应该放在 元素操作相关 的分类里,与数学操作无关
  • <cn_api_paddle_transpose_>,引用的时候不需要加前面的下划线

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改

@sunzhongkai588
Copy link
Collaborator

修复 CI 中的 codestyle 问题,用 pre-commit 可自动修复 @nuclearslippers

@nuclearslippers
Copy link
Contributor Author

谢谢指点,已修改

Copy link
Collaborator

Choose a reason for hiding this comment

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

这个文件不用改,是 pre-commit 自动改的嘛?按道理应该只会改 git add 后的文件,这部分先复原吧,而且这部分也和本任务无关

Copy link
Contributor Author

Choose a reason for hiding this comment

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

是pre-commit自动改的,现在已经复原。麻烦再看看还有问题没,辛苦了。

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.

LGTM

@luotao1 luotao1 merged commit 534b497 into PaddlePaddle:develop Apr 1, 2025
2 checks passed
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