-
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.4] #6765
Conversation
完成chunk的修改
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6765.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
请签署下CLA |
docs/images/chunk.png
Outdated
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.
图例很直观,想了解下使用什么工具生成的呀? latex 嘛
docs/api/paddle/chunk_cn.rst
Outdated
图例 | ||
::::::::: | ||
- **x** (Tensor) - shape=(3,3,3)。 | ||
- **chunks** (int) - 值=2。 |
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.
- 图例似乎生成错了。 chunk=2 的话,(3,3,3)的 tesnor 没法平分,可以实际跑代码示例测试一下
docs/api/paddle/chunk_cn.rst
Outdated
- **x** (Tensor) - shape=(3,3,3)。 | ||
- **chunks** (int) - 值=2。 | ||
- **axis** (int|Tensor,可选) - 值=0,对第0个维度进行分割。 | ||
.. image:: ../../images/chunk.png |
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.
.. image:: ../../images/chunk.png | |
.. image:: ../../images/chunk.png | |
:width: 500 |
图片太大了,调小些
docs/images/chunk.png
Outdated
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=0 是哪个方向
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.
LGTM~
* Update chunk_cn.rst test * 1 添加图片 * Update chunk_cn.rst 添加图片 * Update chunk_cn.rst 完成chunk的修改 * Update chunk_cn.rst * 修改图片大小 * Update chunk_cn.rst 修改分割数量为3 * 完成pre-commit * 修改2 * 修改 * 1 * 修改3 * 修改4 * 修改图片
PR types
Bug fixes
PR changes
Docs
Description
给chunk API文档增加图例
对应的英文文档修复为:PaddlePaddle/Paddle#66503