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.38]add the legend of unique #6945

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

Conversation

fxy1699
Copy link
Contributor

@fxy1699 fxy1699 commented Nov 11, 2024

add the legend of unique
@sunzhongkai588
@luotao1

Copy link

paddle-bot bot commented Nov 11, 2024

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

整个图例板块放在 参数 板块上面,即对api简单说明的那块儿

Copy link
Contributor Author

Choose a reason for hiding this comment

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

收到啦,已修改~

Copy link
Collaborator

Choose a reason for hiding this comment

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

没太看懂new index 和 count 的作用?麻烦解释一下~

Copy link
Contributor Author

Choose a reason for hiding this comment

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

我在文字部分简单写了一下,您看看呢

Copy link
Collaborator

Choose a reason for hiding this comment

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

我在文字部分简单写了一下,您看看呢

图例的 counts 好像写错了,检查一下

Copy link
Collaborator

Choose a reason for hiding this comment

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

我在文字部分简单写了一下,您看看呢

图例的 counts 好像写错了,检查一下

Comment on lines +19 to +20
图二展示了代码中形状为[3,3]的二维张量通过 unique 操作(axis=0)去重排序后得到新的形状为[2,3]的二维张量,新的二维张量会按照字典序进行排列。
.. figure:: ../../images/api_legend/unique_2.png
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
图二展示了代码中形状为[3,3]的二维张量通过 unique 操作(axis=0)去重排序后得到新的形状为[2,3]的二维张量,新的二维张量会按照字典序进行排列。
.. figure:: ../../images/api_legend/unique_2.png
图二展示了代码中形状为[3,3]的二维张量通过 unique 操作(axis=0)去重排序后得到新的形状为[2,3]的二维张量,新的二维张量会按照字典序进行排列。
.. figure:: ../../images/api_legend/unique_2.png

空一行,否则渲染不正确,下同。CI 跑完了之后记得检查一下预览是否正确

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.

3 participants