Skip to content

Commit 8f57892

Browse files
authored
[Docathon][Add CN Doc No.1] (#6384)
* 新增对sin_英文文档的描述 * 增加Overview文档中sin_ api的描述
1 parent 1fb678a commit 8f57892

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
@@ -190,6 +190,7 @@ tensor 数学操作原位(inplace)版本
190190
" :ref:`paddle.multigammaln_ <cn_api_paddle_multigammaln_>` ", "Inplace 版本的 multigammaln API,对输入 x 采用 Inplace 策略"
191191
" :ref:`paddle.masked_fill_ <cn_api_paddle_masked_fill_>` ", "Inplace 版本的 masked_fill API,对输入 x 采用 Inplace 策略"
192192
" :ref:`paddle.index_fill_ <cn_api_paddle_index_fill_>` ", "Inplace 版本的 index_fill API,对输入 x 采用 Inplace 策略"
193+
" :ref:`paddle.sin_ <cn_api_paddle_sin_>` ", "Inplace 版本的 sin API,对输入 x 采用 Inplace 策略"
193194

194195
.. _tensor_logic:
195196

docs/api/paddle/sin__cn.rst

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