[API Compatibility No.31-33] Sink asinh, atan and atan2 to cpp#7668
[API Compatibility No.31-33] Sink asinh, atan and atan2 to cpp#7668Manfredss wants to merge 10 commits intoPaddlePaddle:developfrom
Conversation
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7668.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Remove redundant data type list for input tensor.
There was a problem hiding this comment.
Pull request overview
This PR adds API compatibility by introducing an optional out parameter to three mathematical functions (asinh, atan, and atan2) in their Chinese documentation. The out parameter is added as a keyword-only argument with a default value of None.
Key Changes:
- Added
outparameter to function signatures ofasinh,atan, andatan2 - Updated parameter documentation sections to describe the new
outparameter - Modified data type descriptions for
asinhto include additional types (float16, bfloat16)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/api/paddle/atan_cn.rst | Added out parameter to function signature and parameter documentation |
| docs/api/paddle/atan2_cn.rst | Added out parameter to function signature and parameter documentation |
| docs/api/paddle/asinh_cn.rst | Added out parameter and updated data type list (incomplete) |
| docs/api/paddle/asin_cn.rst | Contains unresolved merge conflict markers from another change |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| 参数 | ||
| ::::::::: | ||
| - **x** (Tensor) - 输入的 Tensor,数据类型为:float32、float64、complex64、complex128。 | ||
| - **x** (Tensor) - 输入的 Tensor,数据类型为: float32, float64, float16, bfloat16, |
There was a problem hiding this comment.
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.
| - **x** (Tensor) - 输入的 Tensor,数据类型为: float32, float64, float16, bfloat16, | |
| - **x** (Tensor) - 输入的 Tensor,数据类型为:float32、float64、float16、bfloat16、complex64、complex128。 |
Sink asinh, atan to cpp, add param decorator to atan2