Skip to content

Commit c82b7cc

Browse files
authored
[Docathon][Fix Doc Format No.1-3] (#7455)
* rm some inplace api * add inplace statement
1 parent db9318a commit c82b7cc

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

docs/api/paddle/index_add__cn.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ index_add\_
77
88
Inplace 版本的 :ref:`cn_api_paddle_index_add` API,对输入 `x` 采用 Inplace 策略。
99

10-
代码示例
11-
::::::::::::
12-
13-
COPY-FROM: paddle.index_add_
14-
1510
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。
1611

1712
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3

docs/api/paddle/index_fill__cn.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ index_fill\_
77
88
Inplace 版本的 :ref:`cn_api_paddle_index_fill` API
99

10-
代码示例
11-
::::::::::::
10+
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。
1211

13-
COPY-FROM: paddle.index_fill_
12+
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3

docs/api/paddle/index_put__cn.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ index_put\_
77
88
Inplace 版本的 :ref:`cn_api_paddle_index_put` API
99

10-
代码示例
11-
::::::::::::
10+
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。
1211

13-
COPY-FROM: paddle.index_put_
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)