Skip to content

Conversation

@liuruyan
Copy link
Contributor

@liuruyan liuruyan commented Apr 8, 2025

PR Category

Performance Optimization

PR Types

Improvements

Description

为reshape和pool2d添加layout转换方法
Pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Apr 8, 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.

@liuruyan liuruyan changed the title add strategy of pool and reshape 【PIR】Add strategy of pool and reshape Apr 11, 2025
}
}
VLOG(4) << "end IsNeedAllTranspose"
VLOG(0) << "end IsNeedAllTranspose"
Copy link
Contributor

Choose a reason for hiding this comment

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

这个log删了吧

Comment on lines +233 to +234
if (op_name == "pd_op.pool2d" || op_name == "pd_op.reshape") {
auto layout_interface =
Copy link
Contributor

Choose a reason for hiding this comment

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

为啥需要特判?

@zyfncg zyfncg merged commit 985fb6b into PaddlePaddle:develop Apr 11, 2025
32 of 34 checks passed
YqGe585 pushed a commit to YqGe585/Paddle that referenced this pull request May 7, 2025
* add strategy of pool and reshape * fix window-ci bug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants