-
Notifications
You must be signed in to change notification settings - Fork 838
【映射文档】更新部分修复的 API 文档 #6696
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
【映射文档】更新部分修复的 API 文档 #6696
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6696.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
..._convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.cross_entropy.md
Outdated
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/api_difference/nn/torch.nn.CrossEntropyLoss.md
Outdated
Show resolved
Hide resolved
|
||
### 参数映射 | ||
|
||
| PyTorch | PaddlePaddle | 备注 | | ||
| ------------- | ------------ | ------------------------------------------------------ | | ||
| input | x | 输入的多维 Tensor ,PyTorch 支持布尔和数值类型的输入,Paddle 仅支持布尔类型,需要转写。 | | ||
| input | x | 输入的多维 Tensor ,参数完全一致。 | |
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.
PaConvert 已经有数值类型的输入,对应单测
docs/guides/model_convert/convert_from_pytorch/api_difference/ops/torch.any.md
Outdated
Show resolved
Hide resolved
b3f4db1
to
96cf44c
Compare
@sunzhongkai588 孙桑,看看我这里给 api 添加了一个 |
请问这个PR什么时候能合入呀,不然后面文档构建都失败啦 |
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
No description provided.