-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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.
参考:https://data-apis.org/array-api/latest/API_specification/generated/array_api.round.html#array_api.round末尾部分,添加一下关于inf、nan的测试以及对应的kernel逻辑(如果需要的话)
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. |
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中)