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][Docathon][添加API图例第32号]添加strided_slice的图片 #6980

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
7 changes: 7 additions & 0 deletions docs/api/paddle/strided_slice_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ strided_slice 算子。
则:
result=[[2],]

**示例图解说明**:

下图依次展示了三个示例中的情形,一个形状为[2,4]的张量通过 3 个不同 strided_slice 操作得到不同的切片。可以清晰地看到张量形状变化前后各元素的对应关系。

.. figure:: ../../images/api_legend/strided_slice.png
:width: 500
:align: center

参数
::::::::::::
Expand Down
Binary file added docs/images/api_legend/strided_slice.png
Copy link
Collaborator

Choose a reason for hiding this comment

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

原 tensor 是一个 2d tensor,可以画成一张矩形的样子

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.