-
Notifications
You must be signed in to change notification settings - Fork 870
同步paconvert,为类别2加上映射文档链接,重构映射分类 #7431
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
同步paconvert,为类别2加上映射文档链接,重构映射分类 #7431
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7431.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
此类 API 功能和使用方法在 PyTorch 和 PaddlePaddle 中完全一致,只需将 ``torch.`` 替换为 ``paddle.`` | ||
|
||
## API 完全一致 | ||
**分类依据** |
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.
这个 分类依据 后面统一改成 分类简介 吧
1. **API 完全一致**:无需映射文档与转写示例。 | ||
|
||
2. **参数一致但 API 名不一致**:无需映射文档与转写示例。 | ||
2. **仅 API 调用方式不一致**:无需转写示例。 |
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.
调用方式不一致。这个还是需要转写示例的。
参数映射以表格的形式呈现,表格的第 1 列是`PyTorch` 所有参数,第 2 列是`Paddle`对应参数,表格顺序按第 1 列 `PyTorch` 的参数顺序来。 | ||
|
||
1. **参数与 API 名均一致**:无需映射文档与转写示例。 | ||
1. **API 完全一致**:无需映射文档与转写示例。 |
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.
无需映射文档 就行。
|
||
# API 映射关系文档 - 模板 | ||
|
||
## 分类 2:仅 API 调用方式不一致 |
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.
上面加一个
## 分类1:API 完全一致
此类API无需编写映射文档。
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.
已按照上述要求修改
No description provided.