Skip to content
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 4th 】新增 trapezoid 和 cumulative_trapezoid doc #5685

Merged
merged 10 commits into from
Mar 28, 2023

Conversation

Ainavo
Copy link
Contributor

@Ainavo Ainavo commented Mar 7, 2023

@paddle-bot
Copy link

paddle-bot bot commented Mar 7, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5685.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@paddle-bot
Copy link

paddle-bot bot commented Mar 7, 2023

❌ The PR's message can't be empty.

@Ainavo
Copy link
Contributor Author

Ainavo commented Mar 23, 2023

请问 @luotao1 文档应该找谁 review 呢?

@luotao1
Copy link
Collaborator

luotao1 commented Mar 23, 2023

请问 @luotao1 文档应该找谁 review 呢?

@sunzhongkai588 会统一 review 中英文文档,请耐心等待下

@Ainavo
Copy link
Contributor Author

Ainavo commented Mar 23, 2023

请问 @luotao1 文档应该找谁 review 呢?

@sunzhongkai588 会统一 review 中英文文档,请耐心等待下

好的~

docs/api/paddle/Overview_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/Tensor_cn.rst Show resolved Hide resolved
docs/api/paddle/Tensor_cn.rst Show resolved Hide resolved
docs/api/paddle/cumulative_trapezoid_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/trapezoid_cn.rst Outdated Show resolved Hide resolved
docs/api/paddle/cumulative_trapezoid_cn.rst Outdated Show resolved Hide resolved

.. py:function:: paddle.trapezoid(y, x=None, dx=None, axis=-1, name=None)

在指定维度上对输入实现 trapezoid rule 算法。与 paddle.cumulative_trapezoid 的区别是,所用的求和函数为 sum。
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • trapezoid rule 如有相关介绍链接,最好附上
  • paddle.cumulative_trapezoid 建议附上相应api文档的引用

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • trapezoid rule 如有相关介绍链接,最好附上
  • paddle.cumulative_trapezoid 建议附上相应api文档的引用

已修改

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1 luotao1 merged commit ce85aa1 into PaddlePaddle:develop Mar 28, 2023
@Ainavo Ainavo deleted the add_doc_for_trapezoid branch March 28, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants