Skip to content

Commit 6ffa266

Browse files
authored
[Inplace]Add bitwise_or_/bitwise_not_/digamma_ docs (#7294)
1 parent 7e2a873 commit 6ffa266

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

docs/api/paddle/Overview_cn.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ tensor 数学操作原位(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 策略"
195195
" :ref:`paddle.bitwise_and_ <cn_api_paddle_bitwise_and_>` ", "Inplace 版本的 bitwise_and API,对输入 x 采用 Inplace 策略"
196+
" :ref:`paddle.bitwise_not_ <cn_api_paddle_bitwise_not_>` ", "Inplace 版本的 bitwise_not API,对输入 x 采用 Inplace 策略"
197+
" :ref:`paddle.bitwise_or_ <cn_api_paddle_bitwise_or_>` ", "Inplace 版本的 bitwise_or API,对输入 x 采用 Inplace 策略"
196198
" :ref:`paddle.bitwise_invert_ <cn_api_paddle_bitwise_invert_>` ", "Inplace 版本的 bitwise_invert API,对输入 x 采用 Inplace 策略"
197199
" :ref:`paddle.bernoulli_ <cn_api_paddle_bernoulli_>` ", "Inplace 版本的 bernoulli API,对输入 x 采用 Inplace 策略"
198200
" :ref:`paddle.bitwise_xor_ <cn_api_paddle_bitwise_xor_>` ", "Inplace 版本的 bitwise_xor API,对输入 x 采用 Inplace 策略"
@@ -208,6 +210,7 @@ tensor 数学操作原位(inplace)版本
208210
" :ref:`paddle.copysign_ <cn_api_paddle_copysign_>` ", "Inplace 版本的 copysign API,对输入 x 采用 Inplace 策略"
209211
" :ref:`paddle.cumprod_ <cn_api_paddle_cumprod_>` ", "Inplace 版本的 cumprod API,对输入 x 采用 Inplace 策略"
210212
" :ref:`paddle.cumsum_ <cn_api_paddle_cumsum_>` ", "Inplace 版本的 cumsum API,对输入 x 采用 Inplace 策略"
213+
" :ref:`paddle.digamma_ <cn_api_paddle_digamma_>` ", "Inplace 版本的 digamma API,对输入 x 采用 Inplace 策略"
211214
" :ref:`paddle.divide_ <cn_api_paddle_divide_>` ", "Inplace 版本的 divide API,对输入 x 采用 Inplace 策略"
212215
" :ref:`paddle.exp_ <cn_api_paddle_exp_>` ", "Inplace 版本的 exp API,对输入 x 采用 Inplace 策略"
213216
" :ref:`paddle.expm1_ <cn_api_paddle_expm1_>` ", "Inplace 版本的 expm1 API,对输入 x 采用 Inplace 策略"

docs/api/paddle/bitwise_not__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_not_:
2+
3+
bitwise\_not\_
4+
-------------------------------
5+
6+
.. py:function:: paddle.bitwise_not_(x, out=None, name=None)
7+
Inplace 版本的 :ref:`cn_api_paddle_bitwise_not` 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

docs/api/paddle/bitwise_or__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_or_:
2+
3+
bitwise\_or\_
4+
-------------------------------
5+
6+
.. py:function:: paddle.bitwise_or_(x, y, name=None)
7+
Inplace 版本的 :ref:`cn_api_paddle_bitwise_or` 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

docs/api/paddle/digamma__cn.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _cn_api_paddle_digamma_:
2+
3+
digamma\_
4+
-------------------------------
5+
6+
.. py:function:: paddle.digamma_(x, name=None)
7+
Inplace 版本的 :ref:`cn_api_paddle_digamma` 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)