Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
X2Paddle
提交
894cbe03
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看板
提交
894cbe03
编写于
5月 26, 2021
作者:
S
SunAhong1993
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix the docs url
上级
d60209b9
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
74 addition
and
74 deletion
+74
-74
docs/pytorch_project_convertor/API_docs/nn/README.md
docs/pytorch_project_convertor/API_docs/nn/README.md
+34
-34
docs/pytorch_project_convertor/API_docs/ops/README.md
docs/pytorch_project_convertor/API_docs/ops/README.md
+28
-28
docs/pytorch_project_convertor/API_docs/utils/README.md
docs/pytorch_project_convertor/API_docs/utils/README.md
+7
-7
docs/pytorch_project_convertor/API_docs/vision/README.md
docs/pytorch_project_convertor/API_docs/vision/README.md
+5
-5
未找到文件。
docs/pytorch_project_convertor/API_docs/nn/README.md
浏览文件 @
894cbe03
...
...
@@ -4,46 +4,46 @@
| 序号 | PyTorch API | PaddlePaddle API | 备注 |
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 1 |
[
torch.nn.Conv1d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv1d.html?highlight=torch%20nn%20conv1d#torch.nn.Conv1d
)
|
[
paddle.nn.Conv1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv1D_cn.html#conv1d
)
|
[
差异对比
](
torch.nn.Conv1d.md
)
|
| 2 |
[
torch.nn.Conv2d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html?highlight=conv2d#torch.nn.Conv2d
)
|
[
paddle.nn.Conv2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv2D_cn.html#conv2d
)
|
[
差异对比
](
torch.nn.Conv2d.md
)
|
| 3 |
[
torch.nn.Conv3d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv3d.html?highlight=conv3d#torch.nn.Conv3d
)
|
[
paddle.nn.Conv3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv3D_cn.html#conv3d
)
|
[
差异对比
](
torch.nn.Conv3d.md
)
|
| 4 |
[
torch.nn.ConvTranspose1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose1d.html?highlight=torch%20nn%20convtranspose1d#torch.nn.ConvTranspose1d
)
|
[
paddle.nn.Conv1DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv1DTranspose_cn.html#conv1dtranspose
)
|
[
差异对比
](
torch.nn.ConvTranspose1d.md
)
|
| 5 |
[
torch.nn.ConvTranspose2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose2d.html?highlight=convtranspose2d#torch.nn.ConvTranspose2d
)
|
[
paddle.nn.Conv2DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv2DTranspose_cn.html#conv2dtranspose
)
|
[
差异对比
](
torch.nn.ConvTranspose2d.md
)
|
| 6 |
[
torch.nn.ConvTranspose3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose3d.html?highlight=convtranspose3d#torch.nn.ConvTranspose3d
)
|
[
paddle.nn.Conv3DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv3DTranspose_cn.html#conv3dtranspose
)
|
[
差异对比
](
torch.nn.ConvTranspose3d.md
)
|
| 7 |
[
torch.nn.Linear
](
https://pytorch.org/docs/stable/generated/torch.nn.Linear.html?highlight=linear#torch.nn.Linear
)
|
[
paddle.nn.Linear
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Linear_cn.html#linear
)
|
[
差异对比
](
torch.nn.Linear.md
)
|
| 8 |
[
torch.nn.MaxPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool1d.html?highlight=maxpool1d#torch.nn.MaxPool1d
)
|
[
paddle.nn.MaxPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool1D_cn.html#maxpool1d
)
|
[
差异对比
](
torch.nn.MaxPool1d.md
)
|
| 9 |
[
torch.nn.MaxPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool2d.html?highlight=maxpool2d#torch.nn.MaxPool2d
)
|
[
paddle.nn.MaxPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool2D_cn.html#maxpool2d
)
|
[
差异对比
](
torch.nn.MaxPool2d.md
)
|
| 10 |
[
torch.nn.MaxPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool3d.html?highlight=maxpool3d#torch.nn.MaxPool3d
)
|
[
paddle.nn.MaxPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool3D_cn.html#maxpool3d
)
|
[
差异对比
](
torch.nn.MaxPool3d.md
)
|
| 11 |
[
torch.nn.MaxUnpool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool1d.html?highlight=unpool#torch.nn.MaxUnpool1d
)
| 无对应实现 |
[
组合实现
](
torch.nn.MaxUnpool1d.md
)
|
| 12 |
[
torch.nn.MaxUnpool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool2d.html?highlight=unpool#torch.nn.MaxUnpool2d
)
| 无对应实现 |
[
组合实现
](
torch.nn.MaxUnpool2d.md
)
|
| 13 |
[
torch.nn.MaxUnpool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool3d.html?highlight=unpool#torch.nn.MaxUnpool3d
)
| 无对应实现 |
[
组合实现
](
torch.nn.MaxUnpool3d.md
)
|
| 14 |
[
torch.nn.AvgPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool1d.html?highlight=avgpool1d#torch.nn.AvgPool1d
)
|
[
paddle.nn.AvgPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool1D_cn.html#avgpool1d
)
|
[
差异对比
](
torch.nn.AvgPool1d.md
)
|
| 15 |
[
torch.nn.AvgPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool2d.html?highlight=avgpool2d#torch.nn.AvgPool2d
)
|
[
paddle.nn.AvgPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool2D_cn.html#avgpool2d
)
|
[
差异对比
](
torch.nn.AvgPool2d.md
)
|
| 16 |
[
torch.nn.AvgPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool3d.html?highlight=avgpool3d#torch.nn.AvgPool3d
)
|
[
paddle.nn.AvgPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool3D_cn.html#avgpool3d
)
|
[
差异对比
](
torch.nn.AvgPool3d.md
)
|
| 1 |
[
torch.nn.Conv1d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv1d.html?highlight=torch%20nn%20conv1d#torch.nn.Conv1d
)
|
[
paddle.nn.Conv1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv1D_cn.html#conv1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Conv1d.md
)
|
| 2 |
[
torch.nn.Conv2d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv2d.html?highlight=conv2d#torch.nn.Conv2d
)
|
[
paddle.nn.Conv2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv2D_cn.html#conv2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Conv2d.md
)
|
| 3 |
[
torch.nn.Conv3d
](
https://pytorch.org/docs/stable/generated/torch.nn.Conv3d.html?highlight=conv3d#torch.nn.Conv3d
)
|
[
paddle.nn.Conv3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv3D_cn.html#conv3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Conv3d.md
)
|
| 4 |
[
torch.nn.ConvTranspose1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose1d.html?highlight=torch%20nn%20convtranspose1d#torch.nn.ConvTranspose1d
)
|
[
paddle.nn.Conv1DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv1DTranspose_cn.html#conv1dtranspose
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConvTranspose1d.md
)
|
| 5 |
[
torch.nn.ConvTranspose2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose2d.html?highlight=convtranspose2d#torch.nn.ConvTranspose2d
)
|
[
paddle.nn.Conv2DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv2DTranspose_cn.html#conv2dtranspose
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConvTranspose2d.md
)
|
| 6 |
[
torch.nn.ConvTranspose3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConvTranspose3d.html?highlight=convtranspose3d#torch.nn.ConvTranspose3d
)
|
[
paddle.nn.Conv3DTranspose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Conv3DTranspose_cn.html#conv3dtranspose
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConvTranspose3d.md
)
|
| 7 |
[
torch.nn.Linear
](
https://pytorch.org/docs/stable/generated/torch.nn.Linear.html?highlight=linear#torch.nn.Linear
)
|
[
paddle.nn.Linear
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Linear_cn.html#linear
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Linear.md
)
|
| 8 |
[
torch.nn.MaxPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool1d.html?highlight=maxpool1d#torch.nn.MaxPool1d
)
|
[
paddle.nn.MaxPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool1D_cn.html#maxpool1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxPool1d.md
)
|
| 9 |
[
torch.nn.MaxPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool2d.html?highlight=maxpool2d#torch.nn.MaxPool2d
)
|
[
paddle.nn.MaxPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool2D_cn.html#maxpool2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxPool2d.md
)
|
| 10 |
[
torch.nn.MaxPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxPool3d.html?highlight=maxpool3d#torch.nn.MaxPool3d
)
|
[
paddle.nn.MaxPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/MaxPool3D_cn.html#maxpool3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxPool3d.md
)
|
| 11 |
[
torch.nn.MaxUnpool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool1d.html?highlight=unpool#torch.nn.MaxUnpool1d
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxUnpool1d.md
)
|
| 12 |
[
torch.nn.MaxUnpool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool2d.html?highlight=unpool#torch.nn.MaxUnpool2d
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxUnpool2d.md
)
|
| 13 |
[
torch.nn.MaxUnpool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.MaxUnpool3d.html?highlight=unpool#torch.nn.MaxUnpool3d
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.MaxUnpool3d.md
)
|
| 14 |
[
torch.nn.AvgPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool1d.html?highlight=avgpool1d#torch.nn.AvgPool1d
)
|
[
paddle.nn.AvgPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool1D_cn.html#avgpool1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.AvgPool1d.md
)
|
| 15 |
[
torch.nn.AvgPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool2d.html?highlight=avgpool2d#torch.nn.AvgPool2d
)
|
[
paddle.nn.AvgPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool2D_cn.html#avgpool2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.AvgPool2d.md
)
|
| 16 |
[
torch.nn.AvgPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.AvgPool3d.html?highlight=avgpool3d#torch.nn.AvgPool3d
)
|
[
paddle.nn.AvgPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AvgPool3D_cn.html#avgpool3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.AvgPool3d.md
)
|
| 17 |
[
torch.nn.AdaptiveMaxPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveMaxPool1d.html?highlight=adaptivemaxpool1d#torch.nn.AdaptiveMaxPool1d
)
|
[
paddle.nn.AdaptiveMaxPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveMaxPool1D_cn.html#adaptivemaxpool1d
)
| 功能一致,参数名不一致 |
| 18 |
[
torch.nn.AdaptiveMaxPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveMaxPool2d.html?highlight=adaptivemaxpool2d#torch.nn.AdaptiveMaxPool2d
)
|
[
paddle.nn.AdaptiveMaxPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveMaxPool2D_cn.html#adaptivemaxpool2d
)
| 功能一致,参数名不一致 |
| 19 |
[
torch.nn.AdaptiveMaxPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveMaxPool3d.html?highlight=adaptivemaxpool3d#torch.nn.AdaptiveMaxPool3d
)
|
[
paddle.nn.AdaptiveMaxPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveMaxPool3D_cn.html#adaptivemaxpool3d
)
| 功能一致,参数名不一致 |
| 20 |
[
torch.nn.AdaptiveAvgPool1d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool1d.html?highlight=adaptiveavgpool1d#torch.nn.AdaptiveAvgPool1d
)
|
[
paddle.nn.AdaptiveAvgPool1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveAvgPool1D_cn.html#adaptiveavgpool1d
)
| 功能一致,参数名不一致 |
| 21 |
[
torch.nn.AdaptiveAvgPool2d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool2d.html?highlight=adaptiveavgpool2d#torch.nn.AdaptiveAvgPool2d
)
|
[
paddle.nn.AdaptiveAvgPool2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveAvgPool2D_cn.html#adaptiveavgpool2d
)
| 功能一致,参数名不一致 |
| 22 |
[
torch.nn.AdaptiveAvgPool3d
](
https://pytorch.org/docs/stable/generated/torch.nn.AdaptiveAvgPool3d.html?highlight=adaptiveavgpool3d#torch.nn.AdaptiveAvgPool3d
)
|
[
paddle.nn.AdaptiveAvgPool3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/AdaptiveAvgPool3D_cn.html#adaptiveavgpool3d
)
| 功能一致,参数名不一致 |
| 23 |
[
torch.nn.ConstantPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad1d.html?highlight=pad#torch.nn.ConstantPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
torch.nn.ConstantPad1d.md
)
|
| 24 |
[
torch.nn.ConstantPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad2d.html?highlight=pad#torch.nn.ConstantPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
torch.nn.ConstantPad2d.md
)
|
| 25 |
[
torch.nn.ConstantPad3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad3d.html?highlight=pad#torch.nn.ConstantPad3d
)
|
[
paddle.nn.Pad3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad3D_cn.html#pad3d
)
|
[
差异对比
](
torch.nn.ConstantPad3d.md
)
|
| 26 |
[
torch.nn.ReflectionPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReflectionPad1d.html?highlight=pad#torch.nn.ReflectionPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
torch.nn.ReflectionPad1d.md
)
|
| 27 |
[
torch.nn.ReflectionPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReflectionPad2d.html?highlight=pad#torch.nn.ReflectionPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
torch.nn.ReflectionPad2d.md
)
|
| 28 |
[
torch.nn.ReplicationPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad1d.html?highlight=pad#torch.nn.ReplicationPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
torch.nn.ReplicationPad1d.md
)
|
| 29 |
[
torch.nn.ReplicationPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad2d.html?highlight=pad#torch.nn.ReplicationPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
torch.nn.ReplicationPad2d.md
)
|
| 30 |
[
torch.nn.ReplicationPad3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad3d.html?highlight=pad#torch.nn.ReplicationPad3d
)
|
[
paddle.nn.Pad3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad3D_cn.html#pad3d
)
|
[
差异对比
](
torch.nn.ReplicationPad3d.md
)
|
| 31 |
[
torch.nn.BatchNorm1d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm1d.html?highlight=torch%20nn%20batchnorm1d#torch.nn.BatchNorm1d
)
|
[
paddle.nn.BatchNorm1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm1D_cn.html#batchnorm1d
)
|
[
差异对比
](
torch.nn.BatchNorm1d.md
)
|
| 32 |
[
torch.nn.BatchNorm2d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm2d.html?highlight=batchnorm2d#torch.nn.BatchNorm2d
)
|
[
paddle.nn.BatchNorm2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm2D_cn.html#batchnorm2d
)
|
[
差异对比
](
torch.nn.BatchNorm2d.md
)
|
| 33 |
[
torch.nn.BatchNorm3d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm3d.html?highlight=torch%20nn%20batchnorm3d#torch.nn.BatchNorm3d
)
|
[
paddle.nn.BatchNorm3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm3D_cn.html#batchnorm3d
)
|
[
差异对比
](
torch.nn.BatchNorm3d.md
)
|
| 34 |
[
torch.nn.Upsample
](
https://pytorch.org/docs/stable/generated/torch.nn.Upsample.html?highlight=upsample#torch.nn.Upsample
)
|
[
paddle.nn.Upsample
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Upsample_cn.html#upsample
)
|
[
差异对比
](
torch.nn.Upsample.md
)
|
| 35 |
[
torch.nn.Dropout
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout.html?highlight=dropout#torch.nn.Dropout
)
|
[
paddle.nn.Dropout
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout_cn.html#dropout
)
|
[
差异对比
](
torch.nn.Dropout.md
)
|
| 36 |
[
torch.nn.Dropout2d
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout2d.html?highlight=dropout2d#torch.nn.Dropout2d
)
|
[
paddle.nn.Dropout2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout2D_cn.html#dropout2d
)
|
[
差异对比
](
torch.nn.Dropout2d.md
)
|
| 37 |
[
torch.nn.Dropout3d
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout3d.html?highlight=dropout3d#torch.nn.Dropout3d
)
|
[
paddle.nn.Dropout3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout3D_cn.html#dropout3d
)
|
[
差异对比
](
torch.nn.Dropout3d.md
)
|
| 38 |
[
torch.nn.LSTM
](
https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html?highlight=lstm#torch.nn.LSTM
)
|
[
paddle.nn.LSTM
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/LSTM_cn.html#lstm
)
|
[
差异对比
](
torch.nn.LSTM.md
)
|
| 39 |
[
torch.nn.GRU
](
https://pytorch.org/docs/stable/generated/torch.nn.GRU.html?highlight=torch%20nn%20gru#torch.nn.GRU
)
|
[
paddle.nn.GRU
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/GRU_cn.html#gru
)
|
[
差异对比
](
torch.nn.GRU.md
)
|
| 40 |
[
torch.nn.Embedding
](
https://pytorch.org/docs/stable/generated/torch.nn.Embedding.html?highlight=embedding#torch.nn.Embedding
)
|
[
paddle.nn.Embedding
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Embedding_cn.html#embedding
)
|
[
差异对比
](
torch.nn.Embedding.md
)
|
| 23 |
[
torch.nn.ConstantPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad1d.html?highlight=pad#torch.nn.ConstantPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConstantPad1d.md
)
|
| 24 |
[
torch.nn.ConstantPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad2d.html?highlight=pad#torch.nn.ConstantPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConstantPad2d.md
)
|
| 25 |
[
torch.nn.ConstantPad3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ConstantPad3d.html?highlight=pad#torch.nn.ConstantPad3d
)
|
[
paddle.nn.Pad3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad3D_cn.html#pad3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ConstantPad3d.md
)
|
| 26 |
[
torch.nn.ReflectionPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReflectionPad1d.html?highlight=pad#torch.nn.ReflectionPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ReflectionPad1d.md
)
|
| 27 |
[
torch.nn.ReflectionPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReflectionPad2d.html?highlight=pad#torch.nn.ReflectionPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ReflectionPad2d.md
)
|
| 28 |
[
torch.nn.ReplicationPad1d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad1d.html?highlight=pad#torch.nn.ReplicationPad1d
)
|
[
paddle.nn.Pad1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad1D_cn.html#pad1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ReplicationPad1d.md
)
|
| 29 |
[
torch.nn.ReplicationPad2d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad2d.html?highlight=pad#torch.nn.ReplicationPad2d
)
|
[
paddle.nn.Pad2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad2D_cn.html#pad2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ReplicationPad2d.md
)
|
| 30 |
[
torch.nn.ReplicationPad3d
](
https://pytorch.org/docs/stable/generated/torch.nn.ReplicationPad3d.html?highlight=pad#torch.nn.ReplicationPad3d
)
|
[
paddle.nn.Pad3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Pad3D_cn.html#pad3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.ReplicationPad3d.md
)
|
| 31 |
[
torch.nn.BatchNorm1d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm1d.html?highlight=torch%20nn%20batchnorm1d#torch.nn.BatchNorm1d
)
|
[
paddle.nn.BatchNorm1D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm1D_cn.html#batchnorm1d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.BatchNorm1d.md
)
|
| 32 |
[
torch.nn.BatchNorm2d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm2d.html?highlight=batchnorm2d#torch.nn.BatchNorm2d
)
|
[
paddle.nn.BatchNorm2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm2D_cn.html#batchnorm2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.BatchNorm2d.md
)
|
| 33 |
[
torch.nn.BatchNorm3d
](
https://pytorch.org/docs/stable/generated/torch.nn.BatchNorm3d.html?highlight=torch%20nn%20batchnorm3d#torch.nn.BatchNorm3d
)
|
[
paddle.nn.BatchNorm3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/BatchNorm3D_cn.html#batchnorm3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.BatchNorm3d.md
)
|
| 34 |
[
torch.nn.Upsample
](
https://pytorch.org/docs/stable/generated/torch.nn.Upsample.html?highlight=upsample#torch.nn.Upsample
)
|
[
paddle.nn.Upsample
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Upsample_cn.html#upsample
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Upsample.md
)
|
| 35 |
[
torch.nn.Dropout
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout.html?highlight=dropout#torch.nn.Dropout
)
|
[
paddle.nn.Dropout
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout_cn.html#dropout
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Dropout.md
)
|
| 36 |
[
torch.nn.Dropout2d
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout2d.html?highlight=dropout2d#torch.nn.Dropout2d
)
|
[
paddle.nn.Dropout2D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout2D_cn.html#dropout2d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Dropout2d.md
)
|
| 37 |
[
torch.nn.Dropout3d
](
https://pytorch.org/docs/stable/generated/torch.nn.Dropout3d.html?highlight=dropout3d#torch.nn.Dropout3d
)
|
[
paddle.nn.Dropout3D
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Dropout3D_cn.html#dropout3d
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Dropout3d.md
)
|
| 38 |
[
torch.nn.LSTM
](
https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html?highlight=lstm#torch.nn.LSTM
)
|
[
paddle.nn.LSTM
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/LSTM_cn.html#lstm
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.LSTM.md
)
|
| 39 |
[
torch.nn.GRU
](
https://pytorch.org/docs/stable/generated/torch.nn.GRU.html?highlight=torch%20nn%20gru#torch.nn.GRU
)
|
[
paddle.nn.GRU
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/GRU_cn.html#gru
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.GRU.md
)
|
| 40 |
[
torch.nn.Embedding
](
https://pytorch.org/docs/stable/generated/torch.nn.Embedding.html?highlight=embedding#torch.nn.Embedding
)
|
[
paddle.nn.Embedding
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Embedding_cn.html#embedding
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/nn/
torch.nn.Embedding.md
)
|
| 41 |
[
torch.nn.ELU
](
https://pytorch.org/docs/stable/generated/torch.nn.ELU.html?highlight=elu#torch.nn.ELU
)
|
[
paddle.nn.ELU
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/ELU_cn.html#elu
)
| 功能一致,PaddlePaddle未定义
`inplace`
参数表示在不更改变量的内存地址的情况下,直接修改变量的值 |
| 42 |
[
torch.nn.Hardsigmoid
](
https://pytorch.org/docs/stable/generated/torch.nn.Hardsigmoid.html?highlight=hardsigmoid#torch.nn.Hardsigmoid
)
|
[
paddle.nn.Hardsigmoid
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/Hardsigmoid_cn.html#hardsigmoid
)
| 功能一致,PaddlePaddle未定义
`inplace`
参数表示在不更改变量的内存地址的情况下,直接修改变量的值 |
| 43 |
[
torch.nn.LeakyReLU
](
https://pytorch.org/docs/stable/generated/torch.nn.LeakyReLU.html?highlight=leakyrelu#torch.nn.LeakyReLU
)
|
[
paddle.nn.LeakyReLU
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/LeakyReLU_cn.html#leakyrelu
)
| 功能一致,PaddlePaddle未定义
`inplace`
参数表示在不更改变量的内存地址的情况下,直接修改变量的值 |
...
...
docs/pytorch_project_convertor/API_docs/ops/README.md
浏览文件 @
894cbe03
...
...
@@ -6,45 +6,45 @@
| 1 |
[
torch.set\_default\_dtype
](
https://pytorch.org/docs/stable/generated/torch.set_default_dtype.html
)
|
[
paddle.set\_default\_dtype
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/set_default_dtype_cn.html#set-default-dtype
)
| 功能一致 |
| 2 |
[
torch.get\_default\_dtype
](
https://pytorch.org/docs/stable/generated/torch.get_default_dtype.html
)
|
[
paddle.get\_default\_dtype
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/get_default_dtype_cn.html#get-default-dtype
)
| 功能一致 |
| 3 |
[
torch.numel
](
https://pytorch.org/docs/stable/generated/torch.numel.html
)
|
[
paddle.numel
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/numel_cn.html#numel
)
| 功能一致,参数名不一致 |
| 4 |
[
torch.tensor
](
https://pytorch.org/docs/stable/generated/torch.tensor.html?highlight=tensor#torch.tensor
)
|
[
paddle.to\_tensor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/to_tensor_cn.html#to-tensor
)
|
[
差异对比
](
torch.tensor.md
)
|
| 5 |
[
torch.from\_numpy
](
https://pytorch.org/docs/stable/generated/torch.from_numpy.html?highlight=from_numpy#torch.from_numpy
)
|
[
paddle.to\_tensor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/to_tensor_cn.html#to-tensor
)
|
[
差异对比
](
torch.from_numpy.md
)
|
| 6 |
[
torch.zeros
](
https://pytorch.org/docs/stable/generated/torch.zeros.html?highlight=zeros#torch.zeros
)
|
[
paddle.zeros
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/zeros_cn.html#zeros
)
|
[
差异对比
](
torch.zeros.md
)
|
| 7 |
[
torch.zeros_like
](
https://pytorch.org/docs/stable/generated/torch.zeros_like.html?highlight=zeros_like#torch.zeros_like
)
|
[
paddle.zeros_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/zeros_like_cn.html#zeros-like
)
|
[
差异对比
](
torch.zeros_like.md
)
|
| 8 |
[
torch.ones
](
https://pytorch.org/docs/stable/generated/torch.ones.html?highlight=ones#torch.ones
)
|
[
paddle.ones
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/ones_cn.html#ones
)
|
[
差异对比
](
torch.ones.md
)
|
| 9 |
[
torch.ones_like
](
https://pytorch.org/docs/stable/generated/torch.zeros_like.html?highlight=zeros_like#torch.zeros_like
)
|
[
paddle.ones_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/ones_like_cn.html#ones-like
)
|
[
差异对比
](
torch.ones_like.md
)
|
| 10 |
[
torch.empty
](
https://pytorch.org/docs/stable/generated/torch.empty.html?highlight=empty#torch.empty
)
|
[
paddle.empty
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/empty_cn.html#empty
)
|
[
差异对比
](
torch.empty.md
)
|
| 11 |
[
torch.empty_like
](
https://pytorch.org/docs/stable/generated/torch.empty_like.html?highlight=empty_like#torch.empty_like
)
|
[
paddle.empty_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/empty_like_cn.html#empty-like
)
|
[
差异对比
](
torch.empty_like.md
)
|
| 12 |
[
torch.full
](
https://pytorch.org/docs/stable/generated/torch.full.html?highlight=full#torch.full
)
|
[
paddle.full
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/full_cn.html#full
)
| 功能一致,
[
参数不一致
](
torch.full.md
)
|
| 13 |
[
torch.full_like
](
https://pytorch.org/docs/stable/generated/torch.full_like.html?highlight=full_like#torch.full_like
)
|
[
paddle.full_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/full_like_cn.html#full-like
)
|
[
差异对比
](
torch.full_like.md
)
|
| 14 |
[
torch.arange
](
https://pytorch.org/docs/stable/generated/torch.arange.html?highlight=arange#torch.arange
)
|
[
paddle.arange
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/arange_cn.html#arange
)
| 功能一致,
[
参数不一致
](
torch.arange.md
)
|
| 15 |
[
torch.range
](
https://pytorch.org/docs/stable/generated/torch.range.html?highlight=range#torch.range
)
|
[
paddle.arange
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/arange_cn.html#arange
)
| 功能一致,
[
参数不一致
](
torch.range.md
)
|
| 16 |
[
torch.linspace
](
https://pytorch.org/docs/stable/generated/torch.linspace.html?highlight=linspace#torch.linspace
)
|
[
paddle.linspace
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/linspace_cn.html#linspace
)
| 功能一致,
[
参数不一致
](
torch.linspace.md
)
|
| 17 |
[
torch.eye
](
https://pytorch.org/docs/stable/generated/torch.eye.html?highlight=eye#torch.eye
)
|
[
paddle.eye
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/eye_cn.html#eye
)
| 功能一致,
[
参数不一致
](
torch.eye.md
)
|
| 4 |
[
torch.tensor
](
https://pytorch.org/docs/stable/generated/torch.tensor.html?highlight=tensor#torch.tensor
)
|
[
paddle.to\_tensor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/to_tensor_cn.html#to-tensor
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.tensor.md
)
|
| 5 |
[
torch.from\_numpy
](
https://pytorch.org/docs/stable/generated/torch.from_numpy.html?highlight=from_numpy#torch.from_numpy
)
|
[
paddle.to\_tensor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/to_tensor_cn.html#to-tensor
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.from_numpy.md
)
|
| 6 |
[
torch.zeros
](
https://pytorch.org/docs/stable/generated/torch.zeros.html?highlight=zeros#torch.zeros
)
|
[
paddle.zeros
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/zeros_cn.html#zeros
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.zeros.md
)
|
| 7 |
[
torch.zeros_like
](
https://pytorch.org/docs/stable/generated/torch.zeros_like.html?highlight=zeros_like#torch.zeros_like
)
|
[
paddle.zeros_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/zeros_like_cn.html#zeros-like
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.zeros_like.md
)
|
| 8 |
[
torch.ones
](
https://pytorch.org/docs/stable/generated/torch.ones.html?highlight=ones#torch.ones
)
|
[
paddle.ones
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/ones_cn.html#ones
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.ones.md
)
|
| 9 |
[
torch.ones_like
](
https://pytorch.org/docs/stable/generated/torch.zeros_like.html?highlight=zeros_like#torch.zeros_like
)
|
[
paddle.ones_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/ones_like_cn.html#ones-like
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.ones_like.md
)
|
| 10 |
[
torch.empty
](
https://pytorch.org/docs/stable/generated/torch.empty.html?highlight=empty#torch.empty
)
|
[
paddle.empty
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/empty_cn.html#empty
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.empty.md
)
|
| 11 |
[
torch.empty_like
](
https://pytorch.org/docs/stable/generated/torch.empty_like.html?highlight=empty_like#torch.empty_like
)
|
[
paddle.empty_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/empty_like_cn.html#empty-like
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.empty_like.md
)
|
| 12 |
[
torch.full
](
https://pytorch.org/docs/stable/generated/torch.full.html?highlight=full#torch.full
)
|
[
paddle.full
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/full_cn.html#full
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.full.md
)
|
| 13 |
[
torch.full_like
](
https://pytorch.org/docs/stable/generated/torch.full_like.html?highlight=full_like#torch.full_like
)
|
[
paddle.full_like
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/full_like_cn.html#full-like
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.full_like.md
)
|
| 14 |
[
torch.arange
](
https://pytorch.org/docs/stable/generated/torch.arange.html?highlight=arange#torch.arange
)
|
[
paddle.arange
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/arange_cn.html#arange
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.arange.md
)
|
| 15 |
[
torch.range
](
https://pytorch.org/docs/stable/generated/torch.range.html?highlight=range#torch.range
)
|
[
paddle.arange
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/arange_cn.html#arange
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.range.md
)
|
| 16 |
[
torch.linspace
](
https://pytorch.org/docs/stable/generated/torch.linspace.html?highlight=linspace#torch.linspace
)
|
[
paddle.linspace
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/linspace_cn.html#linspace
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.linspace.md
)
|
| 17 |
[
torch.eye
](
https://pytorch.org/docs/stable/generated/torch.eye.html?highlight=eye#torch.eye
)
|
[
paddle.eye
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/eye_cn.html#eye
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.eye.md
)
|
| 18 |
[
torch.cat
](
https://pytorch.org/docs/stable/generated/torch.cat.html?highlight=torch%20cat#torch.cat
)
|
[
paddle.concat
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/concat_cn.html#concat
)
| 功能一致,参数名不一致 |
| 19 |
[
torch.chunk
](
https://pytorch.org/docs/stable/generated/torch.chunk.html?highlight=chunk#torch.chunk
)
|
[
paddle.chunk
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/chunk_cn.html#chunk
)
| 功能一致,参数名不一致 |
| 20 |
[
torch.gather
](
https://pytorch.org/docs/stable/generated/torch.gather.html?highlight=gather#torch.gather
)
|
[
paddle.gather
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/gather_cn.html#gather
)
|
[
差异对比
](
torch.gather.md
)
|
| 20 |
[
torch.gather
](
https://pytorch.org/docs/stable/generated/torch.gather.html?highlight=gather#torch.gather
)
|
[
paddle.gather
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/gather_cn.html#gather
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.gather.md
)
|
| 21 |
[
torch.index\_select
](
https://pytorch.org/docs/stable/generated/torch.index_select.html?highlight=index_select#torch.index_select
)
|
[
paddle.index\_select
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/index_select_cn.html#index-select
)
| 功能一致,参数名不一致 |
| 22 |
[
torch.masked\_select
](
https://pytorch.org/docs/stable/generated/torch.masked_select.html?highlight=masked_sel#torch.masked_select
)
|
[
paddle.masked\_select
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/masked_select_cn.html#masked-select
)
| 功能一致,参数名不一致 |
| 23 |
[
torch.narrow
](
https://pytorch.org/docs/stable/generated/torch.narrow.html?highlight=narrow#torch.narrow
)
|
[
paddle.slice
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/slice_cn.html#slice
)
|
[
差异对比
](
torch.narrow.md
)
|
| 23 |
[
torch.narrow
](
https://pytorch.org/docs/stable/generated/torch.narrow.html?highlight=narrow#torch.narrow
)
|
[
paddle.slice
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/slice_cn.html#slice
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.narrow.md
)
|
| 24 |
[
torch.nonzero
](
https://pytorch.org/docs/stable/generated/torch.nonzero.html?highlight=nonzero#torch.nonzero
)
|
[
paddle.nonzero
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nonzero_cn.html#nonzero
)
| 功能一致,参数名不一致 |
| 25 |
[
torch.reshape
](
https://pytorch.org/docs/stable/generated/torch.reshape.html?highlight=reshape#torch.reshape
)
|
[
paddle.reshape
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/reshape_cn.html#reshape
)
| 功能一致,参数名不一致 |
| 26 |
[
torch.split
](
https://pytorch.org/docs/stable/generated/torch.split.html?highlight=split#torch.split
)
|
[
paddle.split
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/split_cn.html#split
)
| 功能一致,参数名不一致 |
| 27 |
[
torch.squeeze
](
https://pytorch.org/docs/stable/generated/torch.squeeze.html?highlight=squeeze#torch.squeeze
)
|
[
paddle.squeeze
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/squeeze_cn.html#squeeze
)
| 功能一致,参数名不一致 |
| 28 |
[
torch.stack
](
https://pytorch.org/docs/stable/generated/torch.stack.html?highlight=stack#torch.stack
)
|
[
paddle.stack
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/stack_cn.html#stack
)
| 功能一致,参数名不一致 |
| 29 |
[
torch.t
](
https://pytorch.org/docs/stable/generated/torch.t.html
)
|
[
paddle.t
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/t_cn.html#t
)
| 功能一致,参数名不一致 |
| 30 |
[
torch.transpose
](
https://pytorch.org/docs/stable/generated/torch.transpose.html?highlight=transpose#torch.transpose
)
|
[
paddle.transpose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/transpose_cn.html#transpose
)
|
[
差异对比
](
torch.transpose.md
)
|
| 30 |
[
torch.transpose
](
https://pytorch.org/docs/stable/generated/torch.transpose.html?highlight=transpose#torch.transpose
)
|
[
paddle.transpose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/transpose_cn.html#transpose
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.transpose.md
)
|
| 31 |
[
torch.unbind
](
https://pytorch.org/docs/stable/generated/torch.unbind.html?highlight=unbind#torch.unbind
)
|
[
paddle.unbind
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/unbind_cn.html#unbind
)
| 功能一致,参数名不一致 |
| 32 |
[
torch.unsqueeze
](
https://pytorch.org/docs/stable/generated/torch.unsqueeze.html?highlight=unsqueeze#torch.unsqueeze
)
|
[
paddle.unsqueeze
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/unsqueeze_cn.html#unsqueeze
)
| 功能一致,参数名不一致 |
| 33 |
[
torch.where
](
https://pytorch.org/docs/stable/generated/torch.where.html?highlight=where#torch.where
)
|
[
paddle.where
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/where_cn.html#where
)
| 功能一致 |
| 34 |
[
torch.bernoulli
](
https://pytorch.org/docs/stable/generated/torch.bernoulli.html?highlight=bernoulli#torch.bernoulli
)
|
[
paddle.bernoulli
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/bernoulli_cn.html#bernoulli
)
| 功能一致,
[
参数不一致
](
torch.bernoulli.md
)
|
| 35 |
[
torch.multinomial
](
https://pytorch.org/docs/stable/generated/torch.multinomial.html?highlight=multinomial#torch.multinomial
)
|
[
paddle.multinomial
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/multinomial_cn.html#multinomial
)
| 功能一致,
[
参数不一致
](
torch.multinomial.md
)
|
| 36 |
[
torch.normal
](
https://pytorch.org/docs/stable/generated/torch.normal.html?highlight=normal#torch.normal
)
|
[
paddle.normal
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/normal_cn.html#normal
)
|
[
差异对比
](
torch.normal.md
)
|
| 37 |
[
torch.rand
](
https://pytorch.org/docs/stable/generated/torch.rand.html?highlight=rand#torch.rand
)
|
[
paddle.rand
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/rand_cn.html#rand
)
|
[
差异对比
](
torch.rand.md
)
|
| 38 |
[
torch.randint
](
https://pytorch.org/docs/stable/generated/torch.randint.html?highlight=randint#torch.randint
)
|
[
paddle.randint
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randint_cn.html#randint
)
| 功能一致,
[
参数不一致
](
torch.randint.md
)
|
| 39 |
[
torch.randn
](
https://pytorch.org/docs/stable/generated/torch.randn.html?highlight=ran%20dn#torch.randn
)
|
[
paddle.randn
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randn_cn.html#randn
)
|
[
差异对比
](
torch.randn.md
)
|
| 40 |
[
torch.randperm
](
https://pytorch.org/docs/stable/generated/torch.randperm.html?highlight=randperm#torch.randperm
)
|
[
paddle.randperm
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randperm_cn.html#randperm
)
| 功能一致,
[
参数不一致
](
torch.randperm.md
)
|
| 41 |
[
torch.save
](
https://pytorch.org/docs/stable/generated/torch.save.html?highlight=save#torch.save
)
|
[
paddle.save
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/save_cn.html#save
)
|
[
差异对比
](
torch.save.md
)
|
| 42 |
[
torch.load
](
https://pytorch.org/docs/stable/generated/torch.load.html?highlight=load#torch.load
)
|
[
paddle.load
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/load_cn.html#load
)
|
[
差异对比
](
torch.load.md
)
|
| 34 |
[
torch.bernoulli
](
https://pytorch.org/docs/stable/generated/torch.bernoulli.html?highlight=bernoulli#torch.bernoulli
)
|
[
paddle.bernoulli
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/bernoulli_cn.html#bernoulli
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.bernoulli.md
)
|
| 35 |
[
torch.multinomial
](
https://pytorch.org/docs/stable/generated/torch.multinomial.html?highlight=multinomial#torch.multinomial
)
|
[
paddle.multinomial
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/multinomial_cn.html#multinomial
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.multinomial.md
)
|
| 36 |
[
torch.normal
](
https://pytorch.org/docs/stable/generated/torch.normal.html?highlight=normal#torch.normal
)
|
[
paddle.normal
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/normal_cn.html#normal
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.normal.md
)
|
| 37 |
[
torch.rand
](
https://pytorch.org/docs/stable/generated/torch.rand.html?highlight=rand#torch.rand
)
|
[
paddle.rand
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/rand_cn.html#rand
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.rand.md
)
|
| 38 |
[
torch.randint
](
https://pytorch.org/docs/stable/generated/torch.randint.html?highlight=randint#torch.randint
)
|
[
paddle.randint
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randint_cn.html#randint
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.randint.md
)
|
| 39 |
[
torch.randn
](
https://pytorch.org/docs/stable/generated/torch.randn.html?highlight=ran%20dn#torch.randn
)
|
[
paddle.randn
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randn_cn.html#randn
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.randn.md
)
|
| 40 |
[
torch.randperm
](
https://pytorch.org/docs/stable/generated/torch.randperm.html?highlight=randperm#torch.randperm
)
|
[
paddle.randperm
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/randperm_cn.html#randperm
)
| 功能一致,
[
参数不一致
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.randperm.md
)
|
| 41 |
[
torch.save
](
https://pytorch.org/docs/stable/generated/torch.save.html?highlight=save#torch.save
)
|
[
paddle.save
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/save_cn.html#save
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.save.md
)
|
| 42 |
[
torch.load
](
https://pytorch.org/docs/stable/generated/torch.load.html?highlight=load#torch.load
)
|
[
paddle.load
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/load_cn.html#load
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.load.md
)
|
| 43 |
[
torch.abs
](
https://pytorch.org/docs/stable/generated/torch.abs.html?highlight=abs#torch.abs
)
|
[
paddle.abs
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/abs_cn.html#abs
)
| 功能一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 44 |
[
torch.absolute
](
https://pytorch.org/docs/stable/generated/torch.absolute.html?highlight=absolute#torch.absolute
)
|
[
paddle.abs
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/abs_cn.html#abs
)
| 功能一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 45 |
[
torch.acos
](
https://pytorch.org/docs/stable/generated/torch.acos.html?highlight=torch%20acos#torch.acos
)
|
[
paddle.acos
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/acos_cn.html#acos
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
...
...
@@ -59,8 +59,8 @@
| 54 |
[
torch.conj
](
https://pytorch.org/docs/stable/generated/torch.conj.html?highlight=conj#torch.conj
)
|
[
paddle.conj
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/conj_cn.html#conj
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 55 |
[
torch.cos
](
https://pytorch.org/docs/stable/generated/torch.cos.html?highlight=cos#torch.cos
)
|
[
paddle.cos
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/cos_cn.html#cos
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 56 |
[
torch.cosh
](
https://pytorch.org/docs/stable/generated/torch.cosh.html?highlight=cosh#torch.cosh
)
|
[
paddle.cosh
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/cosh_cn.html#cosh
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 57 |
[
torch.div
](
https://pytorch.org/docs/stable/generated/torch.div.html?highlight=div#torch.div
)
|
[
paddle.divide
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/divide_cn.html#divide
)
|
[
差异对比
](
torch.div.md
)
|
| 58 |
[
torch.divide
](
https://pytorch.org/docs/stable/generated/torch.divide.html?highlight=divide#torch.divide
)
|
[
paddle.divide
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/divide_cn.html#divide
)
|
[
差异对比
](
torch.divide.md
)
|
| 57 |
[
torch.div
](
https://pytorch.org/docs/stable/generated/torch.div.html?highlight=div#torch.div
)
|
[
paddle.divide
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/divide_cn.html#divide
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.div.md
)
|
| 58 |
[
torch.divide
](
https://pytorch.org/docs/stable/generated/torch.divide.html?highlight=divide#torch.divide
)
|
[
paddle.divide
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/divide_cn.html#divide
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/ops/
torch.divide.md
)
|
| 59 |
[
torch.erf
](
https://pytorch.org/docs/stable/generated/torch.erf.html?highlight=erf#torch.erf
)
|
[
paddle.erf
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/erf_cn.html#erf
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 60 |
[
torch.exp
](
https://pytorch.org/docs/stable/generated/torch.exp.html?highlight=exp#torch.exp
)
|
[
paddle.exp
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/exp_cn.html#exp
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
| 61 |
[
torch.floor
](
https://pytorch.org/docs/stable/generated/torch.floor.html?highlight=floor#torch.floor
)
|
[
paddle.floor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/floor_cn.html#floor
)
| 功能一致,参数名不一致,PaddlePaddle未定义
`out`
参数代表输出Tensor |
...
...
docs/pytorch_project_convertor/API_docs/utils/README.md
浏览文件 @
894cbe03
...
...
@@ -2,14 +2,14 @@
该文档梳理了与数据处理、分布式处理等相关的PyTorch-PaddlePaddle API映射列表。
| 序号 | PyTorch API | PaddlePaddle API | 备注 |
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| 1 |
[
torch.nn.DataParallel
](
https://pytorch.org/docs/stable/generated/torch.nn.DataParallel.html?highlight=dataparallel#torch.nn.DataParallel
)
|
[
paddle.DataParallel
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/DataParallel_cn.html#dataparallel
)
|
[
差异对比
](
torch.nn.DataParallel.md
)
|
| 2 |
[
torch.nn.parameter.Parameter
](
https://pytorch.org/docs/stable/generated/torch.nn.parameter.Parameter.html?highlight=torch%20nn%20parameter#torch.nn.parameter.Parameter
)
|
[
paddle.create_parameter
](
https://github.com/PaddlePaddle/Paddle/blob/release/2.1/python/paddle/fluid/layers/tensor.py#L77
)
|
[
差异对比
](
torch.nn.parameter.Parameter.md
)
|
| 3 |
[
torch.nn.utils.clip_grad_value_
](
https://pytorch.org/docs/stable/generated/torch.nn.utils.clip_grad_value_.html?highlight=clip_grad_value_#torch.nn.utils.clip_grad_value_
)
| 无对应实现 |
[
组合实现
](
torch.nn.utils.clip_grad_value_.md
)
|
| 4 |
[
torch.utils.data.DataLoader
](
https://pytorch.org/docs/stable/data.html?highlight=dataloader#torch.utils.data.DataLoader
)
|
[
paddle.io.DataLoader
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/DataLoader_cn.html#dataloader
)
|
[
差异对比
](
torch.utils.data.DataLoader.md
)
|
| 5 |
[
torch.utils.data.random_split
](
https://pytorch.org/docs/stable/data.html?highlight=random_split#torch.utils.data.random_split
)
| 无对应实现 |
[
组合实现
](
torch.utils.data.random_split.md
)
|
| 6 |
[
torch.utils.data.distributed.DistributedSampler
](
https://pytorch.org/docs/stable/data.html?highlight=distributedsampler#torch.utils.data.distributed.DistributedSampler
)
| 无对应实现 |
[
组合实现
](
torch.utils.data.distributed.DistributedSampler.md
)
|
| 1 |
[
torch.nn.DataParallel
](
https://pytorch.org/docs/stable/generated/torch.nn.DataParallel.html?highlight=dataparallel#torch.nn.DataParallel
)
|
[
paddle.DataParallel
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/DataParallel_cn.html#dataparallel
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.nn.DataParallel.md
)
|
| 2 |
[
torch.nn.parameter.Parameter
](
https://pytorch.org/docs/stable/generated/torch.nn.parameter.Parameter.html?highlight=torch%20nn%20parameter#torch.nn.parameter.Parameter
)
|
[
paddle.create_parameter
](
https://github.com/PaddlePaddle/Paddle/blob/release/2.1/python/paddle/fluid/layers/tensor.py#L77
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.nn.parameter.Parameter.md
)
|
| 3 |
[
torch.nn.utils.clip_grad_value_
](
https://pytorch.org/docs/stable/generated/torch.nn.utils.clip_grad_value_.html?highlight=clip_grad_value_#torch.nn.utils.clip_grad_value_
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.nn.utils.clip_grad_value_.md
)
|
| 4 |
[
torch.utils.data.DataLoader
](
https://pytorch.org/docs/stable/data.html?highlight=dataloader#torch.utils.data.DataLoader
)
|
[
paddle.io.DataLoader
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/DataLoader_cn.html#dataloader
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.utils.data.DataLoader.md
)
|
| 5 |
[
torch.utils.data.random_split
](
https://pytorch.org/docs/stable/data.html?highlight=random_split#torch.utils.data.random_split
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.utils.data.random_split.md
)
|
| 6 |
[
torch.utils.data.distributed.DistributedSampler
](
https://pytorch.org/docs/stable/data.html?highlight=distributedsampler#torch.utils.data.distributed.DistributedSampler
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.utils.data.distributed.DistributedSampler.md
)
|
| 7 |
[
torch.utils.data.Dataset
](
https://pytorch.org/docs/stable/data.html?highlight=torch%20utils%20data%20dataset#torch.utils.data.Dataset
)
|
[
paddle.io.Dataset
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/Dataset_cn.html#dataset
)
| 功能一致 |
| 8 |
[
torch.utils.data.BatchSampler
](
https://pytorch.org/docs/stable/data.html?highlight=batchsampler#torch.utils.data.BatchSampler
)
|
[
paddle.io.BatchSampler
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/BatchSampler_cn.html#batchsampler
)
|
[
差异对比
](
torch.utils.data.BatchSampler.md
)
|
| 8 |
[
torch.utils.data.BatchSampler
](
https://pytorch.org/docs/stable/data.html?highlight=batchsampler#torch.utils.data.BatchSampler
)
|
[
paddle.io.BatchSampler
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/BatchSampler_cn.html#batchsampler
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/utils/
torch.utils.data.BatchSampler.md
)
|
| 9 |
[
torch.utils.data.Sampler
](
https://pytorch.org/docs/stable/data.html?highlight=sampler#torch.utils.data.Sampler
)
|
[
paddle.io.Sampler
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/io/Sampler_cn.html#sampler
)
| 功能一致 |
***持续更新...**
*
docs/pytorch_project_convertor/API_docs/vision/README.md
浏览文件 @
894cbe03
...
...
@@ -4,21 +4,21 @@
| 序号 | PyTorch API | PaddlePaddle API | 备注 |
| ---- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------- |
| 1 |
[
torchvision.transforms.Compose
](
https://pytorch.org/vision/stable/transforms.html?highlight=compose#torchvision.transforms.Compose
)
|
[
paddle.vision.transforms.Compose
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Compose_cn.html#compose
)
| 功能一致 |
| 2 |
[
torchvision.transforms.ToPILImage
](
https://pytorch.org/vision/stable/transforms.html?highlight=topilimage#torchvision.transforms.ToPILImage
)
| 无对应实现 |
[
组合实现
](
torchvision.transforms.ToPILImage.md
)
|
| 2 |
[
torchvision.transforms.ToPILImage
](
https://pytorch.org/vision/stable/transforms.html?highlight=topilimage#torchvision.transforms.ToPILImage
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/vision/
torchvision.transforms.ToPILImage.md
)
|
| 3 |
[
torchvision.transforms.Resize
](
https://pytorch.org/vision/stable/transforms.html?highlight=resize#torchvision.transforms.Resize
)
|
[
paddle.vision.transforms.Resize
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Resize_cn.html#resize
)
| 功能一致 |
| 4 |
[
torchvision.transforms.ToTensor
](
https://pytorch.org/vision/stable/transforms.html?highlight=totensor#torchvision.transforms.ToTensor
)
|
[
paddle.vision.transforms.ToTensor
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/ToTensor_cn.html#totensor
)
| 功能一致 |
| 5 |
[
torchvision.transforms.RandomHorizontalFlip
](
https://pytorch.org/vision/stable/transforms.html?highlight=randomhorizontalflip#torchvision.transforms.RandomHorizontalFlip
)
|
[
paddle.vision.transforms.RandomHorizontalFlip
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/RandomHorizontalFlip_cn.html#randomhorizontalflip
)
| 功能一致 |
| 6 |
[
torchvision.transforms.CenterCrop
](
https://pytorch.org/vision/stable/transforms.html?highlight=centercrop#torchvision.transforms.CenterCrop
)
|
[
paddle.vision.transforms.CenterCrop
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/CenterCrop_cn.html#centercrop
)
| 功能一致 |
| 7 |
[
torchvision.transforms.ColorJitter
](
https://pytorch.org/vision/stable/transforms.html?highlight=colorjitter#torchvision.transforms.ColorJitter
)
|
[
paddle.vision.transforms.ColorJitter
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/ColorJitter_cn.html#colorjitter
)
| 功能一致 |
| 8 |
[
torchvision.transforms.Grayscale
](
https://pytorch.org/vision/stable/transforms.html?highlight=grayscale#torchvision.transforms.Grayscale
)
|
[
paddle.vision.transforms.Grayscale
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Grayscale_cn.html#grayscale
)
| 功能一致 |
| 9 |
[
torchvision.transforms.Normalize
](
https://pytorch.org/vision/stable/transforms.html?highlight=normalize#torchvision.transforms.Normalize
)
|
[
paddle.vision.transforms.Normalize
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Normalize_cn.html#normalize
)
|
[
差异对比
](
torchvision.transforms.Normalize.md
)
|
| 9 |
[
torchvision.transforms.Normalize
](
https://pytorch.org/vision/stable/transforms.html?highlight=normalize#torchvision.transforms.Normalize
)
|
[
paddle.vision.transforms.Normalize
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Normalize_cn.html#normalize
)
|
[
差异对比
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/vision/
torchvision.transforms.Normalize.md
)
|
| 10 |
[
torchvision.transforms.RandomResizedCrop
](
https://pytorch.org/vision/stable/transforms.html?highlight=randomresizedcrop#torchvision.transforms.RandomResizedCrop
)
|
[
paddle.vision.transforms.RandomResizedCrop
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/RandomResizedCrop_cn.html#randomresizedcrop
)
| 功能一致 |
| 11 |
[
torchvision.transforms.Pad
](
https://pytorch.org/vision/stable/transforms.html?highlight=pad#torchvision.transforms.Pad
)
|
[
paddle.vision.transforms.Pad
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/Pad_cn.html#pad
)
| 功能一致 |
| 12 |
[
torchvision.transforms.RandomCrop
](
https://pytorch.org/vision/stable/transforms.html?highlight=randomcrop#torchvision.transforms.RandomCrop
)
|
[
paddle.vision.transforms.RandomCrop
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/transforms/RandomCrop_cn.html#randomcrop
)
| 功能一致 |
| 13 |
[
torchvision.transforms.RandomRotation
](
https://pytorch.org/vision/stable/transforms.html?highlight=randomrotation#torchvision.transforms.RandomRotation
)
|
[
paddle.vision.transforms.RandomRotation
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/RandomCrop_cn.html#randomcrop
)
| 功能一致 |
| 14 |
[
torchvision.transforms.RandomVerticalFlip
](
https://pytorch.org/vision/stable/transforms.html?highlight=randomverticalflip#torchvision.transforms.RandomVerticalFlip
)
|
[
paddle.vision.transforms.RandomVerticalFlip
](
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/vision/transforms/RandomVerticalFlip_cn.html#randomverticalflip
)
| 功能一致 |
| 15 |
[
torchvision.transforms.Lambda
](
https://pytorch.org/vision/stable/transforms.html?highlight=lambda#torchvision.transforms.Lambda
)
| 无对应实现 |
[
组合实现
](
torchvision.transforms.Lambda.md
)
|
| 17 |
[
torchvision.utils.save_image
](
https://pytorch.org/vision/stable/utils.html?highlight=save_image#torchvision.utils.save_image
)
| 无对应实现 |
[
组合实现
](
torchvision.utils.save_image.md
)
|
| 18 |
[
torchvision.models 系列模型
](
https://pytorch.org/vision/stable/models.html?highlight=torchvision%20models
)
| X2Paddle提供 |
[
使用方式
](
torchvision.models.md
)
|
| 15 |
[
torchvision.transforms.Lambda
](
https://pytorch.org/vision/stable/transforms.html?highlight=lambda#torchvision.transforms.Lambda
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/vision/
torchvision.transforms.Lambda.md
)
|
| 17 |
[
torchvision.utils.save_image
](
https://pytorch.org/vision/stable/utils.html?highlight=save_image#torchvision.utils.save_image
)
| 无对应实现 |
[
组合实现
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/vision/
torchvision.utils.save_image.md
)
|
| 18 |
[
torchvision.models 系列模型
](
https://pytorch.org/vision/stable/models.html?highlight=torchvision%20models
)
| X2Paddle提供 |
[
使用方式
](
https://github.com/PaddlePaddle/X2Paddle/tree/develop/docs/pytorch_project_convertor/API_docs/vision/
torchvision.models.md
)
|
***持续更新...**
*
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录