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.16] Add legend and update doc for atleast_2d #6991

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
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/atleast_2d_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ atleast_2d

将输入转换为张量并返回至少为 ``2`` 维的视图。 ``2`` 维或更高维的输入会被保留。

下图分别展示了 `atleast_2d` 在不同数据类型下,对 1 个 `0` 维张量输入、1 个 `0` 维张量输入和 1 个 `1` 维张量输入,以及 1 个 `0` 维张量输入和 1 个 `3` 维张量输入,将其返回为至少为 `2` 维视图的张量或张量 list 的情形。

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

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

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