Skip to content

Conversation

@Difers
Copy link
Contributor

@Difers Difers commented Jul 29, 2025

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

修改了pooling中的AdaptStartIndex\AdaptEndIndex 计算函数,pooling相关API前向精度问题应该都有改善
在大Tensor情况下,传入变量ph较大,原先的AdaptStartIndex\AdaptEndIndex 计算能会由于浮点数的精度限制而导致错误的结果

Pcard-67164

@paddle-bot
Copy link

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

@Difers Difers changed the title [Big Tensor]fix the calculation function for AdaptStartIndex\AdaptEndIndex in Pooling. [Big Tensor]Fix accuracy diff for paddle.nn.functional.adaptive_max_pool3d API. Jul 29, 2025
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

@Difers
Copy link
Contributor Author

Difers commented Jul 29, 2025

/re-run all-failed

@lshpku lshpku merged commit aa06d8f into PaddlePaddle:develop Jul 31, 2025
76 of 84 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