From 08cf11a05f3cb62f11487232af00286289e5f088 Mon Sep 17 00:00:00 2001 From: Turingg <117662096+Turingg@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:52:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85sinh=E4=B8=AD=E6=96=87?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=BB=A5=E5=8F=8AOverview=20(#6477)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/api/paddle/Overview_cn.rst | 6 ++++-- docs/api/paddle/sinh__cn.rst | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 docs/api/paddle/sinh__cn.rst diff --git a/docs/api/paddle/Overview_cn.rst b/docs/api/paddle/Overview_cn.rst index 57c4f298a3a..035e09b0122 100755 --- a/docs/api/paddle/Overview_cn.rst +++ b/docs/api/paddle/Overview_cn.rst @@ -169,7 +169,7 @@ tensor 数学操作原位(inplace)版本 .. csv-table:: :header: "API 名称", "API 功能" - :widths: 10, 30 + :widths: 12, 30 " :ref:`paddle.remainder_ ` ", "Inplace 版本的 remainder API,对输入 x 采用 Inplace 策略" " :ref:`paddle.abs_ ` ", "Inplace 版本的 abs API,对输入 x 采用 Inplace 策略" @@ -192,6 +192,8 @@ tensor 数学操作原位(inplace)版本 " :ref:`paddle.scale_ ` ", "Inplace 版本的 scale API,对输入 x 采用 Inplace 策略" " :ref:`paddle.sqrt_ ` ", "Inplace 版本的 sqrt API,对输入 x 采用 Inplace 策略" " :ref:`paddle.square_ ` ", "Inplace 版本的 square API,对输入 x 采用 Inplace 策略" + " :ref:`paddle.sin_ ` ", "Inplace 版本的 sin API,对输入 x 采用 Inplace 策略" + " :ref:`paddle.sinh_ ` ", "Inplace 版本的 sinh API,对输入 x 采用 Inplace 策略" " :ref:`paddle.subtract_ ` ", "Inplace 版本的 subtract API,对输入 x 采用 Inplace 策略" " :ref:`paddle.tan_ ` ", "Inplace 版本的 tan API,对输入 x 采用 Inplace 策略" " :ref:`paddle.cos_ ` ", "Inplace 版本的 cos API,对输入 x 采用 Inplace 策略" @@ -206,7 +208,7 @@ tensor 数学操作原位(inplace)版本 " :ref:`paddle.index_fill_ ` ", "Inplace 版本的 index_fill API,对输入 x 采用 Inplace 策略" " :ref:`paddle.bitwise_left_shift_ ` ", "Inplace 版本的 bitwise_left_shift API,对输入 x 采用 Inplace 策略" " :ref:`paddle.bitwise_right_shift_ ` ", "Inplace 版本的 bitwise_right_shift API,对输入 x 采用 Inplace 策略" - " :ref:`paddle.sin_ ` ", "Inplace 版本的 sin API,对输入 x 采用 Inplace 策略" + .. _tensor_logic: diff --git a/docs/api/paddle/sinh__cn.rst b/docs/api/paddle/sinh__cn.rst new file mode 100644 index 00000000000..44c80e92b39 --- /dev/null +++ b/docs/api/paddle/sinh__cn.rst @@ -0,0 +1,12 @@ +.. _cn_api_paddle_sinh_: + +sinh\_ +------------------------------- + +.. py:function:: paddle.sinh_(x, name=None) + +Inplace 版本的 :ref:`cn_api_paddle_sinh` 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