-
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.35]为moveaxis增加图片说明 #6902
base: develop
Are you sure you want to change the base?
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6902.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
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.
一些小建议
- axis=1 和 axis=2 的展示形式互换一下,这样会更直观一些,即[3,2,4]展示为 3 个平行的 2 行 4 列的矩阵。
- 或许不用 paddle.ones 而用 paddle.arange 来创建比较合适,这样能直观看到每个元素的位置变化
- 方向键下写明一些参数,如
source=..
destination=..
,这样也更直观些
已经按照要求完成修改并美化了,麻烦查看
…------------------ 原始邮件 ------------------
发件人: "PaddlePaddle/docs" ***@***.***>;
发送时间: 2024年10月9日(星期三) 中午11:45
***@***.***>;
***@***.******@***.***>;
主题: Re: [PaddlePaddle/docs] [Docathon][Add API Legend No.35]为moveaxis增加图片说明 (PR #6902)
@sunzhongkai588 commented on this pull request.
On docs/images/api_legend/moveaxis.png:
一些小建议
axis=1 和 axis=2 的展示形式互换一下,这样会更直观一些,即[3,2,4]展示为 3 个平行的 2 行 4 列的矩阵。
或许不用 paddle.ones 而用 paddle.arange 来创建比较合适,这样能直观看到每个元素的位置变化
方向键下写明一些参数,如 source=.. destination=..,这样也更直观些
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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.
参考一下示例PR,站在阅读文档的开发者角度上做这个图例
- 元素每个位置标上数据,否则图例作用不大
- 同一tensor用同一个颜色
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.
@KDZZZZZZ 按照该要求修改
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.
这就是示例pr里最直观的表达方式,色块的前后位置已经把矩阵变换表示出来了,我认为图形化比数字更好
@KDZZZZZZ Any update? |
yes @luotao1 图片内容更改了但是路径和文件名都没改所以没显示文件更改,可以在新commit里查看有图片更改 |
为moveaxis API添加图例
Paddle.moveaxis
@zhwesky2010 @sunzhongkai588