Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCU][Add API Legend No.54] Add the legend of diagonal_scatter_cn #6966

Closed
wants to merge 5 commits into from

Conversation

wwwuyan
Copy link
Contributor

@wwwuyan wwwuyan commented Nov 14, 2024

No description provided.

Copy link

paddle-bot bot commented Nov 14, 2024

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

@CLAassistant
Copy link

CLAassistant commented Nov 14, 2024

CLA assistant check
All committers have signed the CLA.

@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label Nov 14, 2024
@@ -26,6 +26,12 @@ diagonal_scatter
- **axis2** (int, 可选) - 对角线的第二个维度,默认值为 1。
- **name** (str,可选) - 具体用法请参见 :ref:`api_guide_Name`,一般无需设置,默认值为 None。

下图展示了一个例子: x 是一个二维张量,通过 diagonal_scatter 在 axis1=0, axis2=1 构成的二维平面内,向其主对角线填充了一个一维张量。
Copy link
Collaborator

Choose a reason for hiding this comment

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

图例部分放在 参数 板块上面,即API介绍的那部分

@wwwuyan wwwuyan closed this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants