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

【BUPT】[Paddle Tensor 第二期 API 鲁棒性增强] paddle.linalg.vector_norm API 鲁棒性增强 #70499

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nizne9
Copy link
Contributor

@nizne9 nizne9 commented Dec 26, 2024

PR Category

User Experience

PR Types

Bug fixes

Description

  1. 修改检查逻辑,使 x_rank == 0 也可以正常运行
  2. linalg.py 下调用 paddle.abs 以支持复数类型,最小化添加该 API 对复数类型的支持
  3. 增加相关测试代码

经过上述修改后,paddle.linalg.vector_norm 可以通过 'array_api_tests/test_linalg.py::test_vector_norm' 测试
image

Copy link

paddle-bot bot commented Dec 26, 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 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant