Skip to content
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

[phi] move diag_v2 to phi #39914

Merged
merged 2 commits into from
Feb 25, 2022
Merged

[phi] move diag_v2 to phi #39914

merged 2 commits into from
Feb 25, 2022

Conversation

linjieccc
Copy link
Contributor

@linjieccc linjieccc commented Feb 24, 2022

PR types

Function optimization

PR changes

OPs

Describe

1.move diag_v2 to phi
2.修复 #39868 comments

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.


namespace phi {

KernelSignature DiagOpArgumentMapping(const ArgumentMappingContext& ctx) {
Copy link
Contributor

Choose a reason for hiding this comment

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

这里的Mapping映射感觉可以不写,使用默认op_proto映射应该也work,如果删掉也work的话可以后面再提个PR完善下

Copy link
Contributor Author

Choose a reason for hiding this comment

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

好的,我在下个PR修复下

Copy link
Contributor

@MingMingShangTian MingMingShangTian left a comment

Choose a reason for hiding this comment

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

LGTM

@YuanRisheng YuanRisheng merged commit 783c4ab into PaddlePaddle:develop Feb 25, 2022
@linjieccc linjieccc deleted the move_diag_v2 branch February 25, 2022 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants