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

[XPU] add pos_weight for sigmoid_cross_entropy_with_logits. #55001

Merged

Conversation

houj04
Copy link
Contributor

@houj04 houj04 commented Jun 29, 2023

PR types

Bug fixes

PR changes

OPs

Description

这个 #54869 修复了binary_cross_entropy_with_logits的计算问题,它给sigmoid_cross_entropy_with_logits算子增加了一个pos_weight参数。

本PR支持了XPU下的pos_weight参数。以下的示例代码也来自于 #54869

图片

@paddle-bot
Copy link

paddle-bot bot commented Jun 29, 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.

@paddle-bot paddle-bot bot added contributor External developers status: proposed labels Jun 29, 2023
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jul 12, 2023

Sorry to inform you that 4e3b026's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link
Contributor

@DesmonDay DesmonDay left a comment

Choose a reason for hiding this comment

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

LGTM

@QingshuChen QingshuChen merged commit 4315bc4 into PaddlePaddle:develop Aug 9, 2023
@paddle-bot
Copy link

paddle-bot bot commented Aug 9, 2023

你的PR已合入Paddle库,请关注后续测试结果。
Your PR has been merged into the repository. An official integration test will be conducted later. Stay tuned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants