Skip to content

Conversation

@RedContritio
Copy link
Contributor

@RedContritio RedContritio commented Apr 9, 2024

* 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
@paddle-bot
Copy link

paddle-bot bot commented Apr 9, 2024

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

@RedContritio RedContritio marked this pull request as draft April 9, 2024 04:02
@RedContritio RedContritio marked this pull request as ready for review April 9, 2024 04:05
@RedContritio RedContritio changed the title [Fix] fix pytorch-paddle mapping index generate (#6463) [Fix] fix pytorch-paddle mapping index generate Apr 9, 2024
@sunzhongkai588 sunzhongkai588 requested a review from jzhang533 April 9, 2024 04:08
@jzhang533 jzhang533 merged commit 04460ca into PaddlePaddle:release/2.6 Apr 9, 2024
paddle.nn.TripletMarginWithDistanceLoss(distance_function=None, margin: float = 1.0, swap: bool = False, reduction: str = 'mean', name: str = None)
```

两者功能一致,参数完全一致。
Copy link
Collaborator

Choose a reason for hiding this comment

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

参数完全一致,也需要写一下 参数映射表

Copy link
Contributor Author

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)
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个目前写了Matcher没

Copy link
Contributor Author

Choose a reason for hiding this comment

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

尚未添加,文档存在就能修复 release/2.6 的问题

@RedContritio RedContritio deleted the fix_2.6_pytorch_mapping branch April 9, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants