-
Notifications
You must be signed in to change notification settings - Fork 823
[Docathon][Add Inplace CN Doc No. 8、28-30] #7152
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,12 @@ | ||||||
.. _cn_api_paddle_cast_: | ||||||
|
||||||
cast\_ | ||||||
------------------------------- | ||||||
|
||||||
.. py:function:: paddle.cast(x, dtype) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Inplace 版本的 :ref:`cn_api_paddle_cast` API,对输入 `x `采用 Inplace 策略。 | ||||||
|
||||||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||||||
|
||||||
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,12 @@ | ||||||
.. _cn_api_paddle_log10_: | ||||||
|
||||||
log10\_ | ||||||
------------------------------- | ||||||
|
||||||
.. py:function:: paddle.log10(x, name=None) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Inplace 版本的 :ref:`cn_api_paddle_log10` API,对输入 `x` 采用 Inplace 策略。 | ||||||
|
||||||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||||||
|
||||||
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,12 @@ | ||||||
.. _cn_api_paddle_log2_: | ||||||
|
||||||
log2\_ | ||||||
------------------------------- | ||||||
|
||||||
.. py:function:: paddle.log2(x, name=None) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Inplace 版本的 :ref:`cn_api_paddle_log2` API,对输入 `x` 采用 Inplace 策略。 | ||||||
|
||||||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||||||
|
||||||
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,12 @@ | ||||||
.. _cn_api_paddle_log_: | ||||||
|
||||||
log\_ | ||||||
------------------------------- | ||||||
|
||||||
.. py:function:: paddle.log(x, name=None) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
Inplace 版本的 :ref:`cn_api_paddle_log` API,对输入 `x` 采用 Inplace 策略。 | ||||||
|
||||||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||||||
|
||||||
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |
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.
cast 是元素操作相关的 inplace api 吧,放到操作相关的表格里,并且按字母排序的位置放