-
Notifications
You must be signed in to change notification settings - Fork 724
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
映射文档 No.243-300 其他未领取项 #6075
映射文档 No.243-300 其他未领取项 #6075
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6075.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
...del_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.group_norm.md
Outdated
Show resolved
Hide resolved
.../guides/model_convert/convert_from_pytorch/api_difference/linalg/torch.linalg.cholesky_ex.md
Outdated
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/api_difference/others/torch.autograd.Function.md
Outdated
Show resolved
Hide resolved
...t/convert_from_pytorch/api_difference/utils/torch.nn.utils.parametrizations.spectral_norm.md
Show resolved
Hide resolved
...t/convert_from_pytorch/api_difference/utils/torch.nn.utils.parametrizations.spectral_norm.md
Outdated
Show resolved
Hide resolved
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.
有些组合规则挺复杂的,因此建议与 转换规则 共同实现,互相校正
转换规则PR PaddlePaddle/PaConvert#217 |
...del_convert/convert_from_pytorch/api_difference/functional/torch.nn.functional.group_norm.md
Outdated
Show resolved
Hide resolved
.../guides/model_convert/convert_from_pytorch/api_difference/linalg/torch.linalg.cholesky_ex.md
Outdated
Show resolved
Hide resolved
docs/guides/model_convert/convert_from_pytorch/api_difference/linalg/torch.linalg.inv_ex.md
Outdated
Show resolved
Hide resolved
| driver | - | cuSOLVER 方法名,Paddle 无此参数,暂无转写方式。 | | ||
| - | full_matrices | 是否计算完整的 U 和 V 矩阵,Paddle 为 False,Pytorch 无此参数,Paddle 使用默认即可。 | | ||
| out | - | 表示输出的 Tensor,Paddle 无此参数,需要转写。 | | ||
| 返回值 | 返回值 | PyTorch 返回值为 S,Paddle 返回多个值,需要转写。 | |
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.
可以写下paddle返回的这三个值
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.
已修改
| PyTorch | PaddlePaddle | 备注 | | ||
| ------- | ------------- | ------------------------------------------------------------------------------------ | | ||
| A | x | 输入 Tensor,仅参数名不一致。 | | ||
| driver | - | cuSOLVER 方法名,Paddle 无此参数,暂无转写方式。 | |
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.
这个影响计算结果吗,不影响的话就是 可直接删除
的话术,可以查看其他API描述直接删除的话术
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.
LGTM
PaddlePaddle/PaConvert#112
转换规则 PaddlePaddle/PaConvert#217
243 torch.linalg.inv_ex 功能缺失
246 torch.nn.LazyBatchNorm1d 功能缺失
247 torch.Tensor.sparse_resize_and_clear_ 功能缺失
248 torch.linalg.svdvals
251 torch.linalg.matrix_norm 功能缺失
254 torch.gradient 功能缺失
255 torch.special.gammaln
257 torch.nn.utils.parametrize.is_parametrized 功能缺失
259 torch.special.erfc 组合替代实现
260 torch.linalg.vector_norm 功能缺失
262 torch.nn.functional.group_norm 功能缺失
265 torch.special.expit 组合替代实现
266 torch.nn.Mish 已有文档
268 torch.linalg.cholesky_ex 功能缺失
269 torch.Tensor.sparse_resize_ 功能缺失
270 torch.positive 功能缺失
275 torch.special.exp2 组合替代实现
276 torch.nn.utils.parametrizations.spectral_norm
277 torch.cuda.StreamContext 功能缺失
278 torch.nn.LazyBatchNorm2d 功能缺失
281 torch.autograd.profiler.profile.self_cpu_time_total 功能缺失
284 torch.profiler.ProfilerActivity 功能缺失
286 torch.special.entr 功能缺失
287 torch.nn.LazyBatchNorm3d 功能缺失
288 torch.autograd.function.FunctionCtx.mark_dirty 功能缺失
289 torch.autograd.function.FunctionCtx.mark_non_differentiable
290 torch.autograd.Function.forward
291 torch.autograd.function.Function 名称应为 torch.autograd.Function https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function
292 torch.autograd.function.FunctionCtx.set_materialize_grads
293 torch.autograd.function.FunctionCtx.save_for_backward
294 torch.autograd.Function.backward
295 torch.profiler.ProfilerAction 功能缺失
296 torch.cuda.set_stream
300 torch.autograd.graph.saved_tensors_hooks