-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Docathon][Add API Legend No.26~30] add tensor_split series API legend #66991
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
python/paddle/tensor/manipulation.py
Outdated
``vsplit`` Full name Vertical Split, splits the input Tensor into multiple sub-Tensors along the vertical axis, which is equivalent to ``paddle.tensor_split`` with ``axis=0``. | ||
1. When the number of Tensor dimensions is equal to 1: | ||
.. image:: https://githubraw.cdn.bcebos.com/PaddlePaddle/docs/develop/docs/images/api_legend/vsplit/vsplit-1.png | ||
2. When the number of Tensor dimensions is greater than 1: | ||
.. image:: https://githubraw.cdn.bcebos.com/PaddlePaddle/docs/develop/docs/images/api_legend/vsplit/vsplit-2.png |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
维度不能小于 2
python/paddle/tensor/manipulation.py
Outdated
|
||
>>> import paddle | ||
|
||
>>> # split along axis with indice |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
>>> # split along axis with indice | |
>>> # split along axis with indices |
5ea2bee
to
fb8612c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vsplit
没有修改
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ~
预览看不到图片,需要合入才能看到?
可能要等中文文档那边的pr合入吧,因为图例是存在docs仓库下面的 |
Sorry to inform you that 9cd20ad's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
PR Category
User Experience
PR Types
Docs
Description
修改tensor_split,hsplit,dsplit,vsplit英文文档描述并增加图例
(图例的url需要等中文文档pr合并后才能访问)
对应的中文文档修复为:PaddlePaddle/docs#6809