Skip to content

Conversation

@xunyoyo
Copy link

@xunyoyo xunyoyo commented Jan 29, 2026

PR Category

User Experience

PR Types

New features

Description

  • Document dim alias for paddle.cumsum_.
  • Remove the torch.Tensor.cumsum_ difference note after alignment.

Copilot AI review requested due to automatic review settings January 29, 2026 03:29
@paddle-bot
Copy link

paddle-bot bot commented Jan 29, 2026

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

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

该 PR 主要是更新 paddle.cumsum_ 的中文文档,补充 dim 参数别名说明,并在与 PyTorch 对齐后移除不再成立的参数名差异说明页面。

Changes:

  • paddle.cumsum_ 中文 API 文档中新增「参数」小节,明确 axis 的别名为 dim,并补充各参数说明。
  • 删除 torch.Tensor.cumsum_paddle.Tensor.cumsum_ 仅参数名不一致的差异说明文档,因为参数名已对齐(通过别名方式)。

Reviewed changes

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

File Description
docs/guides/model_convert/convert_from_pytorch/api_difference/args_name_diff/torch.Tensor.cumsum_.md 移除已不再适用的参数名差异说明文档,避免误导用户。
docs/api/paddle/cumsum__cn.rst paddle.cumsum_ 增加参数列表,标明 axis 的别名为 dim,并补充 x/axis/dtype/name 的中文说明。

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

📚 本次 PR 文档预览链接(点击展开)
ℹ️ 预览提醒
请等待 Docs-NEW 流水线运行完成后再点击预览链接,否则可能会看到旧版本内容或遇到链接无法访问的情况。

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.

2 participants