Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
X2Paddle
提交
e1454f80
X
X2Paddle
项目概览
PaddlePaddle
/
X2Paddle
大约 1 年 前同步成功
通知
328
Star
698
Fork
167
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
26
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
X2Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
26
Issue
26
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e1454f80
编写于
7月 12, 2022
作者:
W
wjj19950828
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fixed misspell
上级
b85f662b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
docs/pytorch_project_convertor/API_docs/loss/README.md
docs/pytorch_project_convertor/API_docs/loss/README.md
+5
-5
未找到文件。
docs/pytorch_project_convertor/API_docs/loss/README.md
浏览文件 @
e1454f80
...
@@ -3,13 +3,13 @@
...
@@ -3,13 +3,13 @@
| 序号 | PyTorch API | PaddlePaddle API | 备注 |
| 序号 | PyTorch API | PaddlePaddle API | 备注 |
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 1 |
[
torch.nn.L1Loss
](
https://pytorch.org/docs/stable/generated/torch.nn.L1Loss.html?highlight=l1loss#torch.nn.L1Loss
)
|
[
paddle.nn.L1Loss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/loss/L1Loss_cn.html#l1loss
)
| 功能一致,PyT
ro
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 1 |
[
torch.nn.L1Loss
](
https://pytorch.org/docs/stable/generated/torch.nn.L1Loss.html?highlight=l1loss#torch.nn.L1Loss
)
|
[
paddle.nn.L1Loss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/loss/L1Loss_cn.html#l1loss
)
| 功能一致,PyT
or
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 2 |
[
torch.nn.MSELoss
](
https://pytorch.org/docs/stable/generated/torch.nn.MSELoss.html?highlight=mseloss#torch.nn.MSELoss
)
|
[
paddle.nn.MSELoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MSELoss_cn.html#mseloss
)
| 功能一致,PyT
ro
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 2 |
[
torch.nn.MSELoss
](
https://pytorch.org/docs/stable/generated/torch.nn.MSELoss.html?highlight=mseloss#torch.nn.MSELoss
)
|
[
paddle.nn.MSELoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MSELoss_cn.html#mseloss
)
| 功能一致,PyT
or
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 3 |
[
torch.nn.CrossEntropyLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/layer/loss/CrossEntropyLoss_cn.html#crossentropyloss
)
|
[
paddle.nn.CrossEntropyLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/CrossEntropyLoss_cn.html#crossentropyloss
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/loss/torch.nn.CrossEntropyLoss.md
)
|
| 3 |
[
torch.nn.CrossEntropyLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/layer/loss/CrossEntropyLoss_cn.html#crossentropyloss
)
|
[
paddle.nn.CrossEntropyLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/CrossEntropyLoss_cn.html#crossentropyloss
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/loss/torch.nn.CrossEntropyLoss.md
)
|
| 4 |
[
torch.nn.KLDivLoss
](
https://pytorch.org/docs/stable/generated/torch.nn.KLDivLoss.html?highlight=kldivloss#torch.nn.KLDivLoss
)
|
[
paddle.nn.KLDivLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/KLDivLoss_cn.html#kldivloss
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/loss/torch.nn.KLDivLoss.md
)
|
| 4 |
[
torch.nn.KLDivLoss
](
https://pytorch.org/docs/stable/generated/torch.nn.KLDivLoss.html?highlight=kldivloss#torch.nn.KLDivLoss
)
|
[
paddle.nn.KLDivLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/KLDivLoss_cn.html#kldivloss
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/loss/torch.nn.KLDivLoss.md
)
|
| 5 |
[
torch.nn.BCELoss
](
https://pytorch.org/docs/stable/generated/torch.nn.BCELoss.html?highlight=bceloss#torch.nn.BCELoss
)
|
[
paddle.nn.BCELoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BCELoss_cn.html#bceloss
)
| 功能一致,PyT
ro
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 5 |
[
torch.nn.BCELoss
](
https://pytorch.org/docs/stable/generated/torch.nn.BCELoss.html?highlight=bceloss#torch.nn.BCELoss
)
|
[
paddle.nn.BCELoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BCELoss_cn.html#bceloss
)
| 功能一致,PyT
or
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 6 |
[
torch.nn.BCEWithLogitsLoss
](
https://pytorch.org/docs/stable/generated/torch.nn.BCEWithLogitsLoss.html?highlight=bcewithlogitsloss#torch.nn.BCEWithLogitsLoss
)
|
[
paddle.nn.BCEWithLogitsLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BCEWithLogitsLoss_cn.html#bcewithlogitsloss
)
| 功能一致,PyT
ro
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 6 |
[
torch.nn.BCEWithLogitsLoss
](
https://pytorch.org/docs/stable/generated/torch.nn.BCEWithLogitsLoss.html?highlight=bcewithlogitsloss#torch.nn.BCEWithLogitsLoss
)
|
[
paddle.nn.BCEWithLogitsLoss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BCEWithLogitsLoss_cn.html#bcewithlogitsloss
)
| 功能一致,PyT
or
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 7 |
[
torch.nn.SmoothL1Loss
](
https://pytorch.org/docs/stable/generated/torch.nn.SmoothL1Loss.html?highlight=torch%20nn%20smoothl1loss#torch.nn.SmoothL1Loss
)
|
[
paddle.nn.SmoothL1Loss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/SmoothL1Loss_cn.html#smoothl1loss
)
| 功能一致,参数名不一致,PyT
ro
ch存在废弃参数
`size_average`
和
`reduce`
。 |
| 7 |
[
torch.nn.SmoothL1Loss
](
https://pytorch.org/docs/stable/generated/torch.nn.SmoothL1Loss.html?highlight=torch%20nn%20smoothl1loss#torch.nn.SmoothL1Loss
)
|
[
paddle.nn.SmoothL1Loss
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/SmoothL1Loss_cn.html#smoothl1loss
)
| 功能一致,参数名不一致,PyT
or
ch存在废弃参数
`size_average`
和
`reduce`
。 |
***持续更新...**
*
***持续更新...**
*
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录