Skip to content

[API Compatibility No.191] Update poisson_nll_loss docs for target/eps alias support -part#7824

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

[API Compatibility No.191] Update poisson_nll_loss docs for target/eps alias support -part#7824
Aidenwu0209 wants to merge 1 commit intoPaddlePaddle:developfrom
Aidenwu0209:api-compat-no191-poisson-nll-loss-docs-part

Conversation

@Aidenwu0209
Copy link
Contributor

Summary

  • Update poisson_nll_loss_cn.rst: add alias annotations (别名:``target``` for label, 别名:``eps``` for epsilon), fix parameter name from `eps` to `epsilon` to match function signature
  • Update torch.nn.functional.poisson_nll_loss.md: update parameter mapping remarks to note Paddle now supports target and eps as aliases

Related PRs

PR Category

User Experience

PR Types

New features

🤖 Generated with Claude Code

…s alias support -part

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

paddle-bot bot commented Mar 3, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7824.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。
  • docs/api/paddle/nn/functional/poisson_nll_loss_cn.rst: 点击预览
  • docs/guides/model_convert/convert_from_pytorch/api_difference/torch_more_args/torch.nn.functional.poisson_nll_loss.md: 点击预览

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.

1 participant