Skip to content

Commit 63eea5a

Browse files
authored
[Docathon][Add Inplace CN Doc No.7] (#7143)
* Update Overview_cn.rst * Create bitwise_xor__cn.rst
1 parent f1c4b19 commit 63eea5a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

docs/api/paddle/Overview_cn.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ tensor 数学操作原位(inplace)版本
191191
" :ref:`paddle.abs_ <cn_api_paddle_abs_>` ", "Inplace 版本的 abs API,对输入 x 采用 Inplace 策略"
192192
" :ref:`paddle.baddbmm_ <cn_api_paddle_baddbmm_>` ", "Inplace 版本的 baddbmm API,对输入 input 采用 Inplace 策略"
193193
" :ref:`paddle.bernoulli_ <cn_api_paddle_bernoulli_>` ", "Inplace 版本的 bernoulli API,对输入 x 采用 Inplace 策略"
194+
" :ref:`paddle.bitwise_xor_ <cn_api_paddle_bitwise_xor_>` ", "Inplace 版本的 bitwise_xor API,对输入 x 采用 Inplace 策略"
194195
" :ref:`paddle.tanh_ <cn_api_paddle_tanh_>` ", "Inplace 版本的 tanh API,对输入 x 采用 Inplace 策略"
195196
" :ref:`paddle.erf_ <cn_api_paddle_erf_>` ", "Inplace 版本的 erf API,对输入 x 采用 Inplace 策略"
196197
" :ref:`paddle.erfinv_ <cn_api_paddle_erfinv_>` ", "Inplace 版本的 erfinv API,对输入 x 采用 Inplace 策略"

docs/api/paddle/bitwise_xor__cn.rst

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

0 commit comments

Comments
 (0)