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

[PIR]Migrate CrossEntropyLoss into pir #58519

Merged
merged 5 commits into from
Nov 2, 2023

Conversation

0x45f
Copy link
Contributor

@0x45f 0x45f commented Oct 31, 2023

PR types

Others

PR changes

Others

Description

[PIR]Migrate CrossEntropyLoss into pir

  • 动态图分支有类似 if paddle.count_nonzero(is_ignore) > 0 的的写法,这种代码无法在动态图下统一,所以在静态图分支进行了适配
  • 除去error类的测试,其他测试case都已经打开了

Pcard-67164

@paddle-bot paddle-bot bot added the contributor External developers label Oct 31, 2023
@0x45f 0x45f merged commit f663ef1 into PaddlePaddle:develop Nov 2, 2023
28 checks passed
@0x45f 0x45f deleted the pir-CrossEntropyLoss branch November 2, 2023 06:12
@paddle-bot paddle-bot bot removed the contributor External developers label Nov 3, 2023
zeroRains pushed a commit to zeroRains/Paddle that referenced this pull request Nov 8, 2023
danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 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.

2 participants