Skip to content

Commit

Permalink
[Docathon][Add API Legend No.10 flip] (PaddlePaddle#6816)
Browse files Browse the repository at this point in the history
* [Docathon][Add API Legend No.10 flip]

添加了对 flip 函数的图示,并更新了对应的中文文档。

* 更新 flip.png

* 修改flip图例
  • Loading branch information
yeteye authored and molly committed Sep 4, 2024
1 parent ef95ddc commit d539664
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/flip_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ flip
沿指定轴反转 n 维 Tensor。

下图展示了 flip 在 2 维和 3 维张量上的情形——一个形状为[4,4]的二维张量以及一个形状为[3,2,2]的三维张量在指定轴上进行翻转。通过比较,可以清晰地看到张量在翻转前后的变化。图例中展示了沿不同轴进行翻转的结果。

.. image:: ../../images/api_legend/flip.png
:width: 600
:alt: 图例

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

Expand Down
Binary file added docs/images/api_legend/flip.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 d539664

Please sign in to comment.