-
Notifications
You must be signed in to change notification settings - Fork 822
[Docathon][Add Inplace CN Doc No.10、11] #7114
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
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7114.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/api/paddle/cumprod__cn.rst
Outdated
|
||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||
|
||
.. _3.1.3 原位(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.
引用参考
docs/docs/api/paddle/abs__cn.rst
Line 11 in 50e8abc
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |
docs/api/paddle/cumsum__cn.rst
Outdated
|
||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||
|
||
.. _3.1.3 原位(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.
问题相同
docs/api/paddle/Overview_cn.rst
Outdated
" :ref:`paddle.cumsum_ <cn_api_paddle_cumsum_>` ", "Inplace 版本的 cumsum API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.cumprod_ <cn_api_paddle_cumprod_>` ", "Inplace 版本的 cumprod 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.
最好按 API 首字母排序,插到 paddle.copysign_
下面
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 以符合代码风格 |
已经重新进行修改,请审查,谢谢 |
docs/api/paddle/Overview_cn.rst
Outdated
" :ref:`paddle.divide_ <cn_api_paddle_divide_>` ", "Inplace 版本的 divide API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.equal_ <cn_api_paddle_equal_>` ", "Inplace 版本的 equal API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.cumprod_ <cn_api_paddle_cumprod_>` ", "Inplace 版本的 cumprod API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.cumsum_ <cn_api_paddle_cumsum_>` ", "Inplace 版本的 cumsum API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.exp_ <cn_api_paddle_exp_>` ", "Inplace 版本的 exp API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.expm1_ <cn_api_paddle_expm1_>` ", "Inplace 版本的 expm1 API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.flatten_ <cn_api_paddle_flatten_>` ", "Inplace 版本的 flatten API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.floor_ <cn_api_paddle_floor_>` ", "Inplace 版本的 floor API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.floor_divide_ <cn_api_paddle_floor_divide_>` ", "Inplace 版本的 floor_divide API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.frac_ <cn_api_paddle_frac_>` ", "Inplace 版本的 frac API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.gammaincc_ <cn_api_paddle_gammaincc_>` ", "Inplace 版本的 gammaincc API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.gammainc_ <cn_api_paddle_gammainc_>` ", "Inplace 版本的 gammainc API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.gammaln_ <cn_api_paddle_gammaln_>` ", "Inplace 版本的 gammaln API,对输入 x 采用 Inplace 策略" | ||
" :ref:`paddle.gcd_ <cn_api_paddle_gcd_>` ", "Inplace 版本的 gcd 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.
这些都是 #7108 新增的,不需要删除
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.
@sunzhongkai588 抱歉之前没有注意,重新进行了恢复。
cd589ef
to
379c72b
Compare
已经重新进行修改,请审查,谢谢 |
PR types
Others
PR changes
Docs
Description
中文文档添加任务
issue: #7090
增加中文文档:
paddle.cumprod__cn
paddle.cumsum__cn
英文文档链接:
@sunzhongkai588