We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead4f14 commit 30763d7Copy full SHA for 30763d7
docs/api/paddle/log2_cn.rst
@@ -3,7 +3,7 @@
3
log2
4
-------------------------------
5
6
-.. py:function:: paddle.log2(x, name=None)
+.. py:function:: paddle.log2(x, name=None, *, out)
7
8
9
@@ -15,11 +15,15 @@ Log2 激活函数(计算底为 2 的对数)
15
\\Out=log_2x\\
16
17
18
+.. note::
19
+ 别名支持: 参数名 ``input`` 可替代 ``x``;
20
+
21
参数
22
:::::::::
23
- **x** (Tensor) – 该 OP 的输入为 Tensor。数据类型为 int32,int64,float16,bfloat16,float32, float64, complex64 或 complex128。
24
+ ``别名:input``
25
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。
-
26
+ - **out** (Tensor,可选) - 输出的结果。该参数为仅关键字参数,默认值为 None。
27
返回
28
29
Tensor,Log2 算子底为 2 对数输出,数据类型与输入一致。
0 commit comments