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

[Docathon][Add API Legend No.10]+add flip legend. #6777

Closed
wants to merge 7 commits into from
Closed
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
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 的情形——一个形状为[3,4,2]的三维张量在指定轴上进行翻转。通过比较,可以清晰地看到张量在翻转前后的变化。图例中展示了沿不同轴进行翻转的结果。

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

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

Expand Down
Binary file added docs/images/api_legend/flip.png
Copy link
Collaborator

Choose a reason for hiding this comment

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

感觉这样反而好像有点更难理解了~可以参考如下的 [3,2,5] 图例(当然,在这个例子里你可以把 shape 改成和代码示例相同的 [3,2,2] )
image

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