Skip to content

Commit

Permalink
[Docathon][Add API Legend No.5 BUAA] (PaddlePaddle#6789)
Browse files Browse the repository at this point in the history
* Update concat_cn.rst

* Add files via upload

* Update docs/api/paddle/concat_cn.rst

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

* Update docs/api/paddle/concat_cn.rst

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>

* Add files via upload

* Update docs/api/paddle/concat_cn.rst

---------

Co-authored-by: zachary sun <70642955+sunzhongkai588@users.noreply.github.com>
  • Loading branch information
2 people authored and fufu0615 committed Aug 7, 2024
1 parent 13fc2e8 commit c288297
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/concat_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ concat
对输入沿参数 ``axis`` 轴进行联结,返回一个新的 Tensor。该 API 不支持输入 0-D Tensor,因为其必须指定沿着某个轴拼接,而 0-D Tensor 没有轴。

下图展示了 concat 操作的典型情况——两个形状为 [2, 3, 4] 的三维张量通过 concat 操作沿着不同的 ``axis`` 轴拼接为不同形状的三维张量,我们可以清晰地看到不同维度拼接的效果。

.. image:: ../../images/api_legend/concat.png
:width: 500
:alt: 图例

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

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

Please # to comment.