Skip to content

Conversation

@hxzd5568
Copy link
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

Pcard-67164

  1. 去除无关分支,分支用于跳过0相关的计算,但其实分支带来性能损失更大,且跳过计算容易造成浮点误差。
  2. 优化减法的计算精度,减法容易出现消去误差(一大一小浮点数无法对齐)
@paddle-bot
Copy link

paddle-bot bot commented Jul 26, 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.

@hxzd5568
Copy link
Contributor Author

/re-run coverage

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghuancoder wanghuancoder merged commit db515e6 into PaddlePaddle:develop Jul 29, 2025
53 of 55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants