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

【Hackathon4】No5 nextafter #52544

Merged
merged 33 commits into from
Apr 27, 2023

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Apr 4, 2023

PR types

Others

PR changes

Others

Description

No5 add nextafter
Chinese Doc: PaddlePaddle/docs#5805
RFC: PaddlePaddle/community#483

@paddle-bot
Copy link

paddle-bot bot commented Apr 4, 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 Apr 4, 2023
Copy link
Contributor

@luotao1 luotao1 left a comment

Choose a reason for hiding this comment

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

需要添加C++ 算子单元测试 来通过覆盖率检查

@enkilee
Copy link
Contributor Author

enkilee commented Apr 18, 2023

@luotao1 already done.

@enkilee
Copy link
Contributor Author

enkilee commented Apr 22, 2023

@jeff41404 all done.

def setUp(self):
self.x = np.random.rand(1, 2).astype('float32')
self.y = np.random.rand(1, 2).astype('float32')
self.x1 = np.array([0, 0, 10]).astype("float32")
Copy link
Contributor

Choose a reason for hiding this comment

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

why use 0 in shape? self.x1 does not contain any data, what is the intention of this test case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see pytorch nextafter is using this, so I used it,too.

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

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

Copy link
Contributor

@heavyrain-lzy heavyrain-lzy 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 82ac391 into PaddlePaddle:develop Apr 27, 2023
@enkilee enkilee deleted the hackathon4_no5_nextafter branch December 19, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants