Skip to content
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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

KDZZZZZZ
Copy link

@KDZZZZZZ KDZZZZZZ commented Oct 6, 2024

为moveaxis API添加图例
Paddle.moveaxis
@zhwesky2010 @sunzhongkai588

Copy link

paddle-bot bot commented Oct 6, 2024

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6902.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@CLAassistant
Copy link

CLAassistant commented Oct 6, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

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=..,这样也更直观些

@KDZZZZZZ
Copy link
Author

KDZZZZZZ commented Nov 20, 2024 via email

Copy link
Collaborator

@sunzhongkai588 sunzhongkai588 Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

参考一下示例PR,站在阅读文档的开发者角度上做这个图例

  • 元素每个位置标上数据,否则图例作用不大
  • 同一tensor用同一个颜色

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KDZZZZZZ 按照该要求修改

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这就是示例pr里最直观的表达方式,色块的前后位置已经把矩阵变换表示出来了,我认为图形化比数字更好

@luotao1
Copy link
Collaborator

luotao1 commented Dec 23, 2024

@KDZZZZZZ Any update?

@KDZZZZZZ
Copy link
Author

yes @luotao1 图片内容更改了但是路径和文件名都没改所以没显示文件更改,可以在新commit里查看有图片更改
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants