Skip to content

[API Compatibility No.207] add alias doc for paddle.poisson#7831

Open
tjujingzong wants to merge 1 commit intoPaddlePaddle:developfrom
tjujingzong:develop
Open

[API Compatibility No.207] add alias doc for paddle.poisson#7831
tjujingzong wants to merge 1 commit intoPaddlePaddle:developfrom
tjujingzong:develop

Conversation

@tjujingzong
Copy link
Contributor

Copilot AI review requested due to automatic review settings March 3, 2026 16:32
@paddle-bot
Copy link

paddle-bot bot commented Mar 3, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7831.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/poisson_cn.rst: 点击预览
  • docs/guides/model_convert/convert_from_pytorch/api_difference/torch_more_args/torch.poisson.md: 点击预览

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds alias documentation for paddle.poisson, reflecting that the parameter x now supports the alias input (added in the related upstream Paddle PR: PaddlePaddle/Paddle#77715). The changes update both the Chinese API reference documentation and the PyTorch-to-Paddle API migration comparison table.

Changes:

  • Updated the Chinese API reference for paddle.poisson to note that parameter x has the alias input
  • Updated the PyTorch-to-Paddle API difference mapping to reflect that input is now a valid alias for x in Paddle

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/api/paddle/poisson_cn.rst Appends "别名 input。" to the x parameter description, following the established convention for alias documentation
docs/guides/model_convert/convert_from_pytorch/api_difference/torch_more_args/torch.poisson.md Updates the parameter mapping table to show x / input in the PaddlePaddle column and adds an explanatory note about the alias support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor HappyOpenSource 快乐开源活动issue与PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants