-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Inference] Add remove_redundant_transpose_pass #63357
Conversation
…nd use it as remove_redundant_transpose_pass
你的PR提交成功,感谢你对开源项目的贡献! |
@@ -0,0 +1,83 @@ | |||
// Copyright (c) 2023 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 -> 2024
#include "paddle/phi/common/data_type.h" | ||
#include "paddle/phi/common/int_array.h" | ||
#include "paddle/phi/common/place.h" | ||
#include "paddle/pir/include/core/builtin_op.h" |
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.
这些头文件是不需要的
@@ -0,0 +1,26 @@ | |||
// Copyright (c) 2023 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 -> 2024
@@ -0,0 +1,62 @@ | |||
# Copyright (c) 2023 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 -> 2024
@@ -0,0 +1,62 @@ | |||
# Copyright (c) 2023 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.
这个单测的命名不需要带"pir"前缀
PR Category
Inference
PR Types
New features
Description
Pcard-71500
extract RemoveRedundantTransposePattern from identity_op_clean_pass and use it as remove_redundant_transpose_pass