PyTorch 最新 release 与 Paddle develop API 映射表¶
本文梳理了 PyTorch 最新发行版(当前 v2.1.0) API 与 PaddlePaddle develop 版本 API 对应关系与差异分析。通过本文档,帮助开发者快速迁移 PyTorch 使用经验,完成模型的开发与调优。
贡献代码¶
欢迎你向我们贡献代码,关于如何编写 API 映射关系,为保证文档格式统一性与可读性,请严格参照 API 映射关系-格式与模板 来编写。
API 映射表目录¶
类别 | 简介 |
---|---|
torch.XX | 主要为torch.XX 类 API |
torch.nn.XX | 主要为torch.nn.XX 类 API |
torch.nn.functional.XX | 主要为torch.nn.functional.XX 类 API |
torch.nn.init.XX | 主要为torch.nn.init.XX 类 API |
torch.nn.utils.XX | 主要为torch.nn.utils.XX 类 API |
torch.nn.Module.XX | 主要为torch.nn.Module.XX 类 API |
torch.Tensor.XX | 主要为torch.Tensor.XX 类 API |
torch.autograd.XX | 主要为torch.autograd.XX 类 API |
torch.cuda.XX | 主要为torch.cuda.XX 类 API |
torch.distributed.XX | 主要为torch.distributed.XX 类 API |
torch.distributions.XX | 主要为torch.distributions.XX 类 API |
torch.fft.XX | 主要为torch.fft.XX 类 API |
torch.hub.XX | 主要为torch.hub.XX 类 API |
torch.linalg.XX | 主要为torch.linalg.XX 类 API |
torch.onnx.XX | 主要为torch.onnx.XX 类 API |
torch.profiler.XX | 主要为torch.profiler.XX 类 API |
torch.optim.XX | 主要为torch.optim.XX 类 API |
torch.sparse.XX | 主要为torch.sparse.XX 类 API |
其他 | 其他 API |
torch.XX API 映射列表¶
梳理了torch.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.nn.XX API 映射列表¶
梳理了torch.nn.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.nn.functional.XX API 映射列表¶
梳理了torch.nn.functional.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.Tensor.XX API 映射列表¶
梳理了torch.Tensor.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.nn.init.XX API 映射列表¶
梳理了torch.nn.init.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.nn.utils.XX API 映射列表¶
梳理了torch.nn.utils.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.nn.Module.XX API 映射列表¶
梳理了torch.nn.Module.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.autograd.XX API 映射列表¶
梳理了torch.autograd.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.cuda.XX API 映射列表¶
梳理了torch.cuda.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.distributed.XX API 映射列表¶
梳理了torch.distributed.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.distributions.XX API 映射列表¶
梳理了torch.distributions.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.fft.XX API 映射列表¶
梳理了torch.fft.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.hub.XX API 映射列表¶
梳理了torch.hub.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.linalg.XX API 映射列表¶
梳理了torch.linalg.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.onnx.XX API 映射列表¶
梳理了torch.onnx.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.optim.XX API 映射列表¶
梳理了torch.optim.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.profiler.XX API 映射列表¶
梳理了torch.profiler.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
torch.sparse.XX API 映射列表¶
梳理了torch.sparse.XX
类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...
其他类 API 映射列表¶
梳理了其他类 API 的 PyTorch-PaddlePaddle API 映射列表。
序号 | Pytorch 最新 release | Paddle develop | 映射关系分类 | 备注 |
---|---|---|---|---|
持续更新...