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

【SCU】【Paddle Tensor 第二期 API其他类型支持No.5】为 round 函数添加 int 、复数支持 #70094

Closed
wants to merge 14 commits into from

Conversation

PolaKuma
Copy link
Contributor

PR Category

User Experience

PR Types

Others

Description

针对 array_api_tests/test_operators_and_elementwise_functions.py::test_round 单测,按照api-array-compat标准,为 round 函数添加 int 、复数支持,添加后可跑通array-api-tests的如下测试(其中test_round_op函数包含在test_activation_op中)
Screenshot 2024-12-10 at 13 46 35
Screenshot 2024-12-10 at 13 47 21

Copy link

paddle-bot bot commented Dec 10, 2024

你的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 Dec 10, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

参考:https://data-apis.org/array-api/latest/API_specification/generated/array_api.round.html#array_api.round末尾部分,添加一下关于inf、nan的测试以及对应的kernel逻辑(如果需要的话)

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Dec 10, 2024
@PolaKuma PolaKuma marked this pull request as draft December 18, 2024 14:46
Copy link

paddle-ci-bot bot commented Dec 28, 2024

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

@PolaKuma PolaKuma closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants