Skip to content

Conversation

@zeroRains
Copy link
Contributor

@zeroRains zeroRains commented Aug 28, 2025

PR Category

User Experience

PR Types

Bug fixes

Description

当前paddle.norm和paddle.linalg.norm对齐了torch.linalg.norm的函数签名,但是torch.norm的签名允许out和dtype直接赋值。这里对paddle.linalg的函数签名进行了一些调整,使其同时兼容torch.linalg.norm和torch.norm的签名。

pcard-71500

@paddle-bot
Copy link

paddle-bot bot commented Aug 28, 2025

你的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.

@zhwesky2010 zhwesky2010 merged commit e3ccc1e into PaddlePaddle:develop Aug 28, 2025
82 of 90 checks passed
@zeroRains zeroRains deleted the norm branch August 28, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants