Skip to content

Conversation

@lijialin03
Copy link
Contributor

@lijialin03 lijialin03 commented Oct 31, 2025

PR Category

User Experience

PR Types

Improvements

Description

pcard-67164

paddle.nn.functional.group_norm

  1. 增加输入映射 x:input, epsilon: eps
  2. 兼容原始的参数和torch.nn.functional.group_norm的参数
  3. 增加相应单测
  4. 修改docstring

PaConvert 测试
image

@paddle-bot
Copy link

paddle-bot bot commented Oct 31, 2025

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

@lijialin03 lijialin03 force-pushed the group_norm branch 2 times, most recently from 0bb8d2e to 3352ddd Compare October 31, 2025 11:11
@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@79ed81e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/nn/functional/norm.py 96.15% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             develop   #76149   +/-   ##
==========================================
  Coverage           ?   96.15%           
==========================================
  Files              ?        1           
  Lines              ?       26           
  Branches           ?        0           
==========================================
  Hits               ?       25           
  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.

Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhwesky2010

This comment was marked as resolved.

@zhwesky2010 zhwesky2010 merged commit a26435f into PaddlePaddle:develop Nov 5, 2025
78 of 81 checks passed
AlAuAu pushed a commit to AlAuAu/Paddle that referenced this pull request Nov 6, 2025
* [API compatibility] update paddle group_norm api

* update: compatible with old parameter order

* update: remove decorator
Manfredss pushed a commit to Manfredss/PaddleDebug that referenced this pull request Nov 7, 2025
* [API compatibility] update paddle group_norm api

* update: compatible with old parameter order

* update: remove decorator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants