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 5th No.11】add gammaincc and gammainc API #59357

Merged
merged 29 commits into from
Jan 24, 2024
Merged

【Hackathon 5th No.11】add gammaincc and gammainc API #59357

merged 29 commits into from
Jan 24, 2024

Conversation

GreatV
Copy link
Contributor

@GreatV GreatV commented Nov 24, 2023

PR types

New features

PR changes

APIs

Description

Copy link

paddle-bot bot commented Nov 24, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label Nov 24, 2023
@luotao1
Copy link
Contributor

luotao1 commented Dec 18, 2023

请补充单测通过覆盖率流水线

@zxcd
Copy link
Contributor

zxcd commented Dec 20, 2023

igamma 和 igammac 的计算比较相似,是否能够实现其中一个(例如 igamma ),然后另一个用 1-igamma 的计算方式实现?

test/legacy_test/test_igammac_op.py Outdated Show resolved Hide resolved
test/legacy_test/test_igammac_op.py Outdated Show resolved Hide resolved
@GreatV
Copy link
Contributor Author

GreatV commented Dec 20, 2023

igamma 和 igammac 的计算比较相似,是否能够实现其中一个(例如 igamma ),然后另一个用 1-igamma 的计算方式实现?

应该是可以的,我改一下。

@GreatV GreatV requested a review from zxcd December 21, 2023 01:59
Copy link
Contributor

@zxcd zxcd left a comment

Choose a reason for hiding this comment

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

LGTM

sunzhongkai588
sunzhongkai588 previously approved these changes Jan 9, 2024
Copy link
Contributor

@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 for docs

@luotao1
Copy link
Contributor

luotao1 commented Jan 10, 2024

@GreatV 可以提交中文文档

@jeff41404
Copy link
Contributor

Pay attention to modify the title and description of PR, use gammaincc instead of igamma

@GreatV GreatV changed the title 【Hackathon 5th No.11】add igamma and igammac API 【Hackathon 5th No.11】add gammaincc and gammainc API Jan 11, 2024
Copy link

paddle-ci-bot bot commented Jan 17, 2024

Sorry to inform you that d7c1b59's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link
Contributor

@jeff41404 jeff41404 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 ca48326 into PaddlePaddle:develop Jan 24, 2024
29 checks passed
@XieYunshen
Copy link
Contributor

单测 : test_gammaincc_op, PR: 61049,CI : PR-CI-Mac-Python3,url : https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/9982634
单测 : test_gammaincc_op, PR: 61096,CI : PR-CI-Mac-Python3,url : https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/9982843
单测 : test_gammaincc_op, PR: 61010,CI : PR-CI-Windows-OPENBLAS,url : https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/9982926

@SigureMo
Copy link
Member

SigureMo commented Jan 24, 2024

@GreatV 可参考 #60902 描述和相关 case 的修复方式,需要考虑静态图的情况

@GreatV
Copy link
Contributor Author

GreatV commented Jan 24, 2024

@SigureMo 好的,我看下。

eee4017 pushed a commit to eee4017/Paddle that referenced this pull request Jan 30, 2024
…#59357)

* 【Hackathon 5th No.11】add igamma and igammac API

* fix bug

* Merge branch 'develop' into add_igamma_igammac

* fix codestyle

* fix bug

* update ut

* fix bug

* fix bug

* add test inplace

* fix bug

* fix bug

* remove unused comment

* remove some c++ impl

* update code

* fix bug

* fix bug

* update

* remove some paddle.enable_static()

* remove eigen impl

* fix test_inplace

* rename op

* igamma(a, x) -> gammaincc(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants