Skip to content

Commit 42093f6

Browse files
authored
[Docathon][Add Inplace CN Doc No.3-4] (#7233)
* [Docathon][Add Inplace CN Doc No.9] * fix: overview.rst * [Docathon][Add Inplace CN Doc No.3-4] * fix docs
1 parent 2cce03c commit 42093f6

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

docs/api/paddle/Overview_cn.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ tensor 数学操作原位(inplace)版本
192192
" :ref:`paddle.remainder_ <cn_api_paddle_remainder_>` ", "Inplace 版本的 remainder API,对输入 x 采用 Inplace 策略"
193193
" :ref:`paddle.abs_ <cn_api_paddle_abs_>` ", "Inplace 版本的 abs API,对输入 x 采用 Inplace 策略"
194194
" :ref:`paddle.baddbmm_ <cn_api_paddle_baddbmm_>` ", "Inplace 版本的 baddbmm API,对输入 input 采用 Inplace 策略"
195+
" :ref:`paddle.bitwise_and_ <cn_api_paddle_bitwise_and_>` ", "Inplace 版本的 bitwise_and API,对输入 x 采用 Inplace 策略"
196+
" :ref:`paddle.bitwise_invert_ <cn_api_paddle_bitwise_invert_>` ", "Inplace 版本的 bitwise_invert API,对输入 x 采用 Inplace 策略"
195197
" :ref:`paddle.bernoulli_ <cn_api_paddle_bernoulli_>` ", "Inplace 版本的 bernoulli API,对输入 x 采用 Inplace 策略"
196198
" :ref:`paddle.bitwise_xor_ <cn_api_paddle_bitwise_xor_>` ", "Inplace 版本的 bitwise_xor API,对输入 x 采用 Inplace 策略"
197199
" :ref:`paddle.tanh_ <cn_api_paddle_tanh_>` ", "Inplace 版本的 tanh API,对输入 x 采用 Inplace 策略"

docs/api/paddle/bitwise_and__cn.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _cn_api_paddle_bitwise_and_:
2+
3+
bitwise\_and\_
4+
-------------------------------
5+
6+
.. py:function:: paddle.bitwise_and_(x, y, name=None)
7+
Inplace 版本的 :ref:`cn_api_paddle_bitwise_and` API,对输入 `x` 采用 Inplace 策略。
8+
9+
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。
10+
11+
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _cn_api_paddle_bitwise_invert_:
2+
3+
bitwise\_invert\_
4+
-------------------------------
5+
6+
.. py:function:: paddle.bitwise_invert_(x, name=None)
7+
Inplace 版本的 :ref:`cn_api_paddle_bitwise_invert` API,对输入 `x` 采用 Inplace 策略。
8+
9+
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。
10+
11+
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3

0 commit comments

Comments
 (0)