-
Notifications
You must be signed in to change notification settings - Fork 877
[Fix] fix pytorch-paddle mapping index generate #6607
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
[Fix] fix pytorch-paddle mapping index generate #6607
Conversation
* fix errors * format mapping index * fix manual item * fix * add 2 mapping doc * add check and exit * add check in gendoc.sh * fix * fix root dir * update some api mapping doc * add mapping docs * remove unused mapping index file * fix unpaired mapping item * fix doc * update * update * update
|
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6607.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
| paddle.nn.TripletMarginWithDistanceLoss(distance_function=None, margin: float = 1.0, swap: bool = False, reduction: str = 'mean', name: str = None) | ||
| ``` | ||
|
|
||
| 两者功能一致,参数完全一致。 |
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.
参数完全一致,也需要写一下 参数映射表
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.
这部分主要用于生成主目录时作为数据源,并不参与实际展示。
| ### [torch.Tensor.apply_](https://pytorch.org/docs/stable/generated/torch.Tensor.apply_.html) | ||
|
|
||
| ```python | ||
| torch.Tensor.apply_(callable) |
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.
这个目前写了Matcher没
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.
尚未添加,文档存在就能修复 release/2.6 的问题
Fix display of pytorch-paddle mapping index of release/2.6 based on develop version.
Source PR is approved and merged.
@jzhang533 @zhwesky2010 @sunzhongkai588 @luotao1