-
Notifications
You must be signed in to change notification settings - Fork 908
[API Compatibility No.31-33] atan2 #7668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
34e573b
bd4a078
51bcd17
425a424
2a76943
e94f787
624540c
995086f
9dc2aca
f988af3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| asinh | ||
| ------------------------------- | ||
|
|
||
| .. py:function:: paddle.asinh(x, name=None) | ||
| .. py:function:: paddle.asinh(x, name=None, *, out=None) | ||
|
|
||
| Arcsinh 函数。 | ||
|
|
||
|
|
@@ -12,8 +12,9 @@ Arcsinh 函数。 | |
|
|
||
| 参数 | ||
| ::::::::: | ||
| - **x** (Tensor) - 输入的 Tensor,数据类型为:float32、float64、complex64、complex128。 | ||
| - **x** (Tensor) - 输入的 Tensor,数据类型为: float32, float64, float16, bfloat16, | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| - **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
| - **out** (Tensor,可选)- 输出的结果。该参数为仅关键字参数,默认值为 None。 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 关键字参数 |
||
|
|
||
| 返回 | ||
| ::::::::: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| atan2 | ||
| ------------------------------- | ||
|
|
||
| .. py:function:: paddle.atan2(x, y, name=None) | ||
| .. py:function:: paddle.atan2(x, y, name=None, *, out=None) | ||
|
|
||
|
|
||
|
|
||
|
|
@@ -26,6 +26,7 @@ atan2 | |
| - **x** (Tensor) - 输入的 Tensor,数据类型为:int32、int64、float16、float32、float64。 | ||
| - **y** (Tensor) - 输入的 Tensor,数据类型为:int32、int64、float16、float32、float64。 | ||
| - **name** (str,可选) - 操作的名称(可选,默认值为 None)。更多信息请参见 :ref:`api_guide_Name`。 | ||
| - **out** (Tensor,可选)- 输出的结果。该参数为仅关键字参数,默认值为 None。 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 关键字参数、别名都没写 |
||
|
|
||
| 返回 | ||
| ::::::::: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| atan | ||
| ------------------------------- | ||
|
|
||
| .. py:function:: paddle.atan(x, name=None) | ||
| .. py:function:: paddle.atan(x, name=None, *, out=None) | ||
|
|
||
|
|
||
|
|
||
|
|
@@ -18,6 +18,7 @@ arctangent 函数。 | |
|
|
||
| - **x** (Tensor) - 输入的 Tensor,数据类型为:float32、float64、float16、complex64、complex128。 | ||
| - **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。 | ||
| - **out** (Tensor,可选)- 输出的结果。该参数为仅关键字参数,默认值为 None。 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 关键字参数、别名都没写 |
||
|
|
||
| 返回 | ||
| :::::::::::: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The parameter description for x is incomplete. The line ends with a comma and the list of data types is not finished. This should include the complete list of supported data types.