diff --git a/docs/api/paddle/Overview_cn.rst b/docs/api/paddle/Overview_cn.rst index 8737c32d5c4..e93a0b2cd68 100755 --- a/docs/api/paddle/Overview_cn.rst +++ b/docs/api/paddle/Overview_cn.rst @@ -187,6 +187,7 @@ tensor 数学操作原位(inplace)版本 " :ref:`paddle.multigammaln_ ` ", "Inplace 版本的 multigammaln API,对输入 x 采用 Inplace 策略" " :ref:`paddle.masked_fill_ ` ", "Inplace 版本的 masked_fill API,对输入 x 采用 Inplace 策略" " :ref:`paddle.index_fill_ ` ", "Inplace 版本的 index_fill API,对输入 x 采用 Inplace 策略" + " :ref:`paddle.sin_ ` ", "Inplace 版本的 sin API,对输入 x 采用 Inplace 策略" .. _tensor_logic: diff --git a/docs/api/paddle/sin__cn.rst b/docs/api/paddle/sin__cn.rst new file mode 100644 index 00000000000..33ad98cef7e --- /dev/null +++ b/docs/api/paddle/sin__cn.rst @@ -0,0 +1,12 @@ +.. _cn_api_paddle_sin_: + +sin\_ +------------------------------- + +.. py:function:: paddle.sin_(x, name=None) + +Inplace 版本的 :ref:`cn_api_paddle_sin` API,对输入 `x` 采用 Inplace 策略。 + +更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 + +.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3