Skip to content

[0-size Tensor Job2 No.62] Add 0-size Tensor support for paddle.nn.functional.margin_cross_entropy - #74010

Closed
co63oc wants to merge 2 commits into
PaddlePaddle:developfrom
co63oc:h12
Closed

co63oc wants to merge 2 commits into
PaddlePaddle:developfrom
co63oc:h12

Conversation

@co63oc

@co63oc co63oc commented Jul 13, 2025 •

Copy link
Copy Markdown
Contributor

PR Category

Operator Mechanism

PR Types

Bug fixes

Description

PFCCLab/PaddleAPITest#354

margin_cross_entropy 增加logits结尾维度不为0的检查
image

@paddle-bot

paddle-bot Bot commented Jul 13, 2025

Copy link
Copy Markdown

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

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (develop@7e472d2). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/nn/functional/loss.py 50.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (50.00%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #74010   +/-   ##
==========================================
  Coverage           ?   50.00%           
==========================================
  Files              ?        1           
  Lines              ?        2           
  Branches           ?        0           
==========================================
  Hits               ?        1           
  Misses             ?        1           
  Partials           ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Jul 14, 2025
@co63oc

co63oc commented Jul 15, 2025

Copy link
Copy Markdown
Contributor Author

合入 #74029

@co63oc co63oc closed this Jul 15, 2025
@co63oc
co63oc deleted the h12 branch July 17, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants