-
Notifications
You must be signed in to change notification settings - Fork 765
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
【Hackathon No.8】add docs for api hypot & hypot_ #6230
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6230.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
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.
- 缺少 inplace 版本的中文文档。
- 文档撰写请务必认真对待,提交 PR 前先 check 一遍是否有显而易见的 typo。
docs/api/paddle/hypot_cn.rst
Outdated
.. _cn_api_paddle_i0: | ||
|
||
i0 |
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.
这两处都改成 hypot
docs/api/paddle/hypot_cn.rst
Outdated
`hypot` 函数对于给定直角三角形直角边 `x`, `y` 实现斜边长度求解的计算; | ||
|
||
.. math:: | ||
out= \sqrt{x^2 + y^2} $$ |
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.
docs/api/paddle/hypot_cn.rst
Outdated
- **x** (Tensor) – 输入Tensor,它的数据类型可以是 float32,float64, int32, int6。 | ||
- **x** (Tensor) – 输入 Tensor,它的数据类型可以是 float32,float64,int32, int64。 |
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.
- **x** (Tensor) – 输入Tensor,它的数据类型可以是 float32,float64, int32, int6。 | |
- **x** (Tensor) – 输入 Tensor,它的数据类型可以是 float32,float64,int32, int64。 | |
- **x** (Tensor) – 输入Tensor,它的数据类型可以是 float32,float64,int32,int64。 | |
- **y** (Tensor) – 输入 Tensor,它的数据类型可以是 float32,float64,int32,int64。 |
@llyyxx0413 可以参考下 |
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.
LGTM
add docs for api hypot & hypot_