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

[PRIM][IR]support add vjp #56163

Merged
merged 63 commits into from
Aug 16, 2023
Merged

Conversation

Charles-hit
Copy link
Contributor

PR types

New features

PR changes

Others

Description

Pcard-66975
本次PR主要完成以下两个工作:

  • 支持addadd_ 算子vjp规则
  • 添加add_grad新IR下组网API

@paddle-bot
Copy link

paddle-bot bot commented Aug 10, 2023

你的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.

@Charles-hit Charles-hit changed the title 【PRIM】【IR】support add vjp [PRIM][IR]support add vjp Aug 10, 2023
->getValue()
.dyn_cast<ir::OpResult>();
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

自动代码生成时展开为两层循环,以确保输出两层都遍历到

Copy link
Contributor Author

Choose a reason for hiding this comment

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

代码生成的时候根据算子来决定即可

@Charles-hit Charles-hit merged commit 84482da into PaddlePaddle:develop Aug 16, 2023
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.

5 participants