[Docs] Add visual diagrams for paddle.stack to enhance Case 1 & Case 2#7875
Closed
ktopia28 wants to merge 2 commits intoPaddlePaddle:developfrom
Closed
[Docs] Add visual diagrams for paddle.stack to enhance Case 1 & Case 2#7875ktopia28 wants to merge 2 commits intoPaddlePaddle:developfrom
ktopia28 wants to merge 2 commits intoPaddlePaddle:developfrom
Conversation
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7875.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
Collaborator
|
请签署CLA |
Collaborator
|
Sry, your revised Fig lacks axis/shape details. We'll close this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景/目的:
paddle.stack 文档目前缺乏直观的原理图,对于 axis=0 和 axis=1 的空间维度变换,新手开发者较难理解。
修改内容:
新增了 stack-0.png:可视化展示了三个 [1, 2] 张量在 axis=0 堆叠为 [3, 1, 2] 的“叠罗汉”过程。
新增了 stack-1.png:可视化展示了三个 [2, 2] 张量在 axis=1 堆叠为 [2, 3, 2] 的“并排”过程。
更新了 stack_cn.rst:在文档对应的 Case 处正确引入了这两张图片。
备注:
两张图保持了统一的蓝色系配色,并标注了明确的维度信息。这是我参与 Paddle Docathon 活动的第一次贡献。