Skip to content

[API Compatibility No.191] Remove kwargs_change for poisson_nll_loss since Paddle now accepts target/eps aliases -part#837

Open
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:masterfrom
Aidenwu0209:api-compat-no191-poisson-nll-loss-part
Open

[API Compatibility No.191] Remove kwargs_change for poisson_nll_loss since Paddle now accepts target/eps aliases -part#837
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:masterfrom
Aidenwu0209:api-compat-no191-poisson-nll-loss-part

Conversation

@Aidenwu0209
Copy link
Contributor

@Aidenwu0209 Aidenwu0209 commented Mar 3, 2026

Summary

  • Remove kwargs_change (targetlabel, epsepsilon) from torch.nn.functional.poisson_nll_loss mapping in api_mapping.json
  • Paddle PR #77919 adds @param_two_alias(["label", "target"], ["epsilon", "eps"]) decorator, so Paddle now natively accepts target and eps as parameter aliases
  • Keep SizeAverageMatcher to continue handling deprecated size_average and reduce parameters

Related PRs

PR Category

User Experience

PR Types

New features

…since Paddle now accepts target/eps aliases -part

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@paddle-bot
Copy link

paddle-bot bot commented Mar 3, 2026

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Mar 3, 2026
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Mar 3, 2026
@PaddlePaddle PaddlePaddle unlocked this conversation Mar 3, 2026
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Mar 4, 2026
@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Mar 5, 2026
@PaddlePaddle PaddlePaddle unlocked this conversation Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants