Skip to content

Commit

Permalink
[Docathon][Add API Legend No.6]add the picture of crop (#6786)
Browse files Browse the repository at this point in the history
* add the picture of crop

* fix details

* fix image title

* fix style

* fix axis

* fix axis error

* fix axis error

* repaint the second example with right axis

* update
  • Loading branch information
Aoraki-Dream authored Sep 25, 2024
1 parent 5f90eef commit 1514d70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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.

0 comments on commit 1514d70

Please sign in to comment.