Skip to content

Conversation

@algorithm1832
Copy link
Contributor

PR Category

User Experience

PR Types

Improvements

Description

ZH Doc

  • Add arg out to diag ZH documentation
  • Add arg alias note for diag

Paddle PR: PaddlePaddle/Paddle#76939
PaConvert PR: PaddlePaddle/PaConvert#792

@paddle-bot
Copy link

paddle-bot bot commented Dec 23, 2025

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

@github-actions
Copy link

github-actions bot commented Dec 23, 2025

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

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 updates the Chinese documentation for the paddle.diag API to align with upstream changes in PaddlePaddle/Paddle#76939. The changes add documentation for the new out parameter and include a note about parameter name aliases.

Key Changes

  • Added out parameter to the API signature and parameter documentation
  • Added a note block documenting parameter name aliases (input for x, diagonal for offset)

@algorithm1832
Copy link
Contributor Author

copilot说的有道理,我调整一下格式

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.

3 participants