Skip to content

Conversation

@Manfredss
Copy link
Contributor

PR Category

User Experience

PR Types

New features

Description

add param alias for:

paddle.nn.functional.leaky_relu_
paddle.nn.functional.relu_
paddle.nn.functional.leaky_relu
paddle.nn.functional.relu
```,

align torch.relu with paddle.nn.functional.relu, i.e., add ``inplace`` param with type bool

@paddle-bot
Copy link

paddle-bot bot commented Jan 11, 2026

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

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@201289e). Learn more about missing BASE report.

Files with missing lines Patch % Lines
python/paddle/nn/functional/activation.py 77.77% 2 Missing ⚠️

❌ Your patch status has failed because the patch coverage (77.77%) 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   #77300   +/-   ##
==========================================
  Coverage           ?   77.77%           
==========================================
  Files              ?        1           
  Lines              ?        9           
  Branches           ?        0           
==========================================
  Hits               ?        7           
  Misses             ?        2           
  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.

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.

2 participants