Skip to content

Conversation

@HydrogenSulfate
Copy link
Contributor

@HydrogenSulfate HydrogenSulfate commented Mar 25, 2024

PR types

Performance optimization

PR changes

OPs

Description

Pcard-75624

Use pow_ad_func(x, y) instead of elementwise_pow_ad_func(x, ::full_like_ad_func(x, y)) when index y is of Scalar

@paddle-bot
Copy link

paddle-bot bot commented Mar 25, 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.

@paddle-bot
Copy link

paddle-bot bot commented Mar 25, 2024

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@HydrogenSulfate HydrogenSulfate changed the title Prim opt pr1 [Prim] Use pow_ad_func instead of elementwise_pow_ad_func when y is scalar Mar 26, 2024
Copy link
Contributor

@cxxly cxxly left a comment

Choose a reason for hiding this comment

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

LGTM

@Charles-hit Charles-hit merged commit 6d998d5 into PaddlePaddle:develop Mar 26, 2024
@HydrogenSulfate HydrogenSulfate deleted the prim_opt_pr1 branch March 26, 2024 07:28
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Mar 26, 2024
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.

3 participants