Skip to content

Commit

Permalink
修改vsplit文档描述并增加图例
Browse files Browse the repository at this point in the history
  • Loading branch information
fufu0615 committed Aug 4, 2024
1 parent 6402c35 commit 0b89782
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/api/paddle/vsplit_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,17 @@ vsplit
将输入 Tensor 沿着垂直轴分割成多个子 Tensor,等价于将 :ref:`cn_api_paddle_tensor_split` API 的参数 axis 固定为 0。
``vsplit`` 全称 Vertical Split 即垂直分割) - 用于将张量沿垂直方向分割成多个子张量。 轴分割成多个子 Tensor,将输入 Tensor 沿着垂直轴分割成多个子 Tensor,等价于将 :ref:`cn_api_paddle_tensor_split` API 的参数 axis 固定为 0。

当 Tensor 维度数量等于 1 时:

.. image:: ../../images/api_legend/vsplit/vsplit-1.png
:alt: vsplit 图例-1

当 Tensor 维度数量大于 1 时:

.. image:: ../../images/api_legend/vsplit/vsplit-2.png
:alt: vsplit 图例-2

参数
:::::::::
Expand Down
Binary file added docs/images/api_legend/vsplit/vsplit-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/api_legend/vsplit/vsplit-2.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 0b89782

Please sign in to comment.