Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Docathon][Add API Legend No.49]add the picture of view #6998

Closed
wants to merge 24 commits into from

Conversation

WSBG
Copy link

@WSBG WSBG commented Nov 27, 2024

Copy link

paddle-bot bot commented Nov 27, 2024

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

@CLAassistant
Copy link

CLAassistant commented Nov 27, 2024

CLA assistant check
All committers have signed the CLA.

Guangxian Ouyang and others added 20 commits November 27, 2024 18:23
* add conversion rules for built-in models of torchvision

* fix typo

* add torchvision in pytorch_api_mapping_cn.md

* fix failed link in pytorch_api_mapping_cn.md

* fix content id order

* add description for torchvision model weights in conversion rules

* add conversion examples for torchvision built-in model

* fix issues about 'batch_norm' and 'progress'

* update conversion examples to focus to ignore batch norm para
… paddle.linalg.matrix_transpose (PaddlePaddle#6970)

* add_matrix_transpose

* fix codestyle

* Update docs/api/paddle/matrix_transpose_cn.rst

Co-authored-by: HydrogenSulfate <490868991@qq.com>

* Update docs/api/paddle/linalg/matrix_transpose_cn.rst

Co-authored-by: HydrogenSulfate <490868991@qq.com>

---------

Co-authored-by: HydrogenSulfate <490868991@qq.com>
…dle#6943)

* fix docs bugs

* fix docs bugs

* add legend

* fix

* fix docs bugs

* fix docs bugs
* docs: add chinese docs for `paddle.positive`

* docs: add docs for `paddle.less`,`Tensor.less`

* typo: replace (`,` and `,`)-> `、`

* docs: replace `,` by `,`

* docs: only keep the `paddle.positive`
…ddlePaddle#6952)

* add legend of paddle.index_put

* midified docs for paddle.index_put
* Add PIR doc

* Fix table

* Fix
…lePaddle#6950)

* [Docathon][Add API Legend No.1] Add the picture of broadcast_to

* [Docathon][Add API Legend No.1] Add the picture of broadcast_to

* [Docathon][Add API Legend No.1] Add the picture of broadcast_to
* fix-docs

* fix pi

* fix pi

* fix docs

* fix docs

* fix docs

* fix bugs

* fix docs

* fix docs

* fix docs

* fix-docs

* fix docs

* fix tools

* resolve conflict

* resolve conflict

* resubmit

* resubmit

* fix docs
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Nov 28, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • 需要在图例里标明各自的维度 axis=0 axis=1 axis=22
  • 可以的话在图例中注明 tensor 的数据

可以参考 https://www.paddlepaddle.org.cn/documentation/docs/zh/guides/beginner/tensor_cn.html#tensor-shape

@@ -9,6 +9,11 @@ view

仅在动态图下可用,返回的 Tensor 和 x 共享内存。

下图展示了一个 view 操作的情形——一个形状为 [2, 4, 6] 的三维张量通过 view 操作转变为形状为 [8, 6] 的二维张量。
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
下图展示了一个 view 操作的情形——一个形状为 [2, 4, 6] 的三维张量通过 view 操作转变为形状为 [8, 6] 的二维张量。
下图展示了一个 view 操作的情形——一个形状为 [2, 4, 6] 的三维张量通过 view 操作返回形状为 [8, 6] 的二维张量。

@luotao1 luotao1 closed this Dec 23, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.