Skip to content

[Docathon][Add API Legend No.6]add the picture of crop #6786

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

Merged
merged 9 commits into from
Sep 25, 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
9 changes: 9 additions & 0 deletions docs/api/paddle/crop_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ crop
[[3, 4, 5],
[6, 7, 8]]]

**示例二图解说明**:

下图展示了示例二中的情形——一个形状为[2,3,4]的三维张量通过 crop 操作裁剪为形状为[2,2,3]的三维张量,同时保持了张量中元素的顺序和值不变。通过比较,可以清晰地看到张量形状变化前后各元素的对应关系。

.. figure:: ../../images/api_legend/crop.png
:width: 500
:alt: 示例二图示
:align: center

参数
:::::::::

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