-
Notifications
You must be signed in to change notification settings - Fork 760
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.51] add a figure of unfold method and update unfold_cn.rst #6951
base: develop
Are you sure you want to change the base?
Conversation
This reverts commit 3b4011a.
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6951.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/api/paddle/unsqueeze_cn.rst
Outdated
:width: 700 | ||
:alt: 图例 | ||
|
||
额外的,当需要在多个位置增加维度时, ``unsqueeze`` 方法会按元素顺序依次增加维度。例如 Shape 为 [2, 3] 的 Tensor 在 axis = [0, 2]处增加维度, ``unsqueeze`` 方法会先在第一维度前插入一个维度, Shape 变为 [1, 2, 3],接着在第三维前插入一个维度, Shape 最终变为 [1, 2, 1, 3]。 |
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.
按元素顺序..
可能会有点误解,可以说 Shape 的元素顺序第一维度
,第三维度
也会造成误解,直接说在 axis =0, axis = 2 前插入...
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.
好的,已经进行了修改,感谢您指出错误!
@sunzhongkai588 @wanghuancoder