Skip to content

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

4 participants