-
Notifications
You must be signed in to change notification settings - Fork 764
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.11 BUAA] #6787
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6787.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
docs/api/paddle/rot90_cn.rst
Outdated
|
||
代码示例 | ||
···· | ||
代码示例· |
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.
这部分不需要改
docs/api/paddle/rot90_cn.rst
Outdated
.. image:: ../../images/api_legend/rot90.png | ||
:alt: 图例 |
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.
.. image:: ../../images/api_legend/rot90.png | |
:alt: 图例 | |
.. image:: ../../images/api_legend/rot90.png | |
:width: 700 | |
:alt: 图例 |
图片调小一些
docs/api/paddle/rot90_cn.rst
Outdated
@@ -9,6 +9,11 @@ rot90 | |||
|
|||
沿 axes 指定的平面将 n 维 tensor 旋转 90 度。当 k 为正数,旋转方向为从 axes[0]到 axes[1],当 k 为负数,旋转方向为从 axes[1]到 axes[0],k 的绝对值表示旋转次数。 | |||
|
|||
下图展示了一个形状为 [2,3,4] 的三维张量在选定旋转方向为 0 到 1 并旋转 1 次··时,通过 rot90 操作转变为形状为 [3,2,4] 的三维张量,我们可以清晰地看到转变前后各元素的对应关系。 |
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.
选定旋转方向为 0 到 1
没太明白,是想说旋转平面嘛?1 次··时
是啥
最好根据参数描述来说明,方便开发者理解
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.
已修改
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,英文文档也加一下
* rot90 * change the description and the figure * Update rot90_cn.rst * Update rot90_cn.rst * Update rot90_cn.rst
* rot90 * change the description and the figure * Update rot90_cn.rst * Update rot90_cn.rst * Update rot90_cn.rst
尝试为 rot90 增加图例。