Skip to content

Commit db9318a

Browse files
authored
[API compatibility] Update Remainder docs (#7442)
* add log2 docs * fix * fix * fix * remaind support alias and out * fix
1 parent cbb2929 commit db9318a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/api/paddle/remainder_cn.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
remainder
44
-------------------------------
55

6-
.. py:function:: paddle.remainder(x, y, name=None)
6+
.. py:function:: paddle.remainder(x, y, name=None, *, out=None)
77
88
99
逐元素取模算子。公式为:
@@ -16,12 +16,18 @@ remainder
1616

1717
.. _Tensor 介绍: ../../guides/beginner/tensor_cn.html#id7
1818

19+
.. note::
20+
别名支持: 参数名 ``input`` 可替代 ``x``, ``other`` 可替代 ``y``;
21+
1922
参数
2023
:::::::::
2124

2225
- **x** (Tensor) - 多维 Tensor。数据类型为 bfloat16 、float16 、float32 、float64、int32 或 int64。
26+
``别名:input``
2327
- **y** (Tensor) - 多维 Tensor。数据类型为 bfloat16 、float16 、float32 、float64、int32 或 int64。
28+
``别名:other``
2429
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name` ,一般无需设置,默认值为 None。
30+
- **out** (Tensor,可选) - 输出的结果。该参数为仅关键字参数,默认值为 None。
2531

2632
返回
2733
:::::::::

0 commit comments

Comments
 (0)