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 -part #6994

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/api/paddle/diagonal_scatter_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ diagonal_scatter
- 如果 offset > 0,则嵌入主对角线右上的对角线。
- 如果 offset < 0,则嵌入主对角线左下的对角线。

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

.. image:: ../../images/api_legend/diagonal_scatter.png
:width: 500
:alt: 图例

参数
::::::::::::

Expand Down
Binary file added docs/images/api_legend/diagonal_scatter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.