Skip to content

Commit

Permalink
[Docathon][Add API Legend No.11 BUAA] (PaddlePaddle#6787)
Browse files Browse the repository at this point in the history
* rot90

* change the description and the figure

* Update rot90_cn.rst

* Update rot90_cn.rst

* Update rot90_cn.rst
  • Loading branch information
Luohongzhige authored and molly committed Sep 4, 2024
1 parent ec5c5cd commit 56d7b63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/api/paddle/rot90_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ rot90
沿 axes 指定的平面将 n 维 tensor 旋转 90 度。当 k 为正数,旋转方向为从 axes[0]到 axes[1],当 k 为负数,旋转方向为从 axes[1]到 axes[0],k 的绝对值表示旋转次数。

下图展示了一个形状为 [2,3,4] 的三维张量执行 rot90 操作的示例,其中 axes 为 [0, 1], k 为 1 ,旋转方向为从 axes = 0 到 axes = 1,旋转次数为 1 次。

.. image:: ../../images/api_legend/rot90.png
:width: 700
:alt: 图例

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

Expand Down
Binary file added docs/images/api_legend/rot90.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 56d7b63

Please sign in to comment.