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]Support mean_grad decompose in vjp #64346

Merged
merged 3 commits into from
May 17, 2024

Conversation

Aurelius84
Copy link
Contributor

PR Category

Operator Mechanism

PR Types

New features

Description

Pcard-67164

Copy link

paddle-bot bot commented May 16, 2024

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

return;
}
Tensor x_grad_tmp;
sum_grad<T>(x, out_grad, axis, keepdim, reduce_all, &x_grad_tmp);
Copy link
Contributor

Choose a reason for hiding this comment

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

sum_grad 尚未适配动态shape,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

后续需统一考虑支持

@Aurelius84 Aurelius84 requested a review from cyber-pioneer May 16, 2024 11:45
@Aurelius84 Aurelius84 merged commit ae1bd9a into PaddlePaddle:develop May 17, 2024
31 checks passed
co63oc pushed a commit to co63oc/Paddle that referenced this pull request May 18, 2024
* [Prim]Support mean_grad decompose in vjp

* fix compile

* refine code
co63oc pushed a commit to co63oc/Paddle that referenced this pull request May 19, 2024
* [Prim]Support mean_grad decompose in vjp

* fix compile

* refine code
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.

2 participants