-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Paddle Inference] Move down the transfer_layout #52997
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
Sorry to inform you that fe0b7ce's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
act_like_ops.end(); | ||
// For these Ops, you can move down the transfer_layout, but MUST change | ||
// the data_format attribute! | ||
std::vector<std::string> pool_like_ops = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对于这类OP也是可以下移的,只不过可能会改变这个Op的执行性能,因此这里只是做一个示范
@@ -0,0 +1,323 @@ | |||
// Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改成2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改成2023
done
c5fff4b
to
6b013b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
std::vector<std::string> act_like_ops = { | ||
"elementwise_add", | ||
"hard_swish", | ||
"silu", | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后面可以增加更多激活
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后面可以增加更多激活
可以,后面遇到的case里可以都加入。
PR types
Others
PR changes
Others
Description
解决思路: