Skip to content
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

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Jul 29, 2023

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

@paddle-bot
Copy link

paddle-bot bot commented Jul 29, 2023

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-6075.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

@co63oc co63oc changed the title 转换规则 No.251-300 其他未领取项 转换规则 No.243-300 其他未领取项 Jul 29, 2023
@co63oc co63oc changed the title 转换规则 No.243-300 其他未领取项 映射文档 No.243-300 其他未领取项 Jul 29, 2023
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jul 31, 2023
Copy link
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

有些组合规则挺复杂的,因此建议与 转换规则 共同实现,互相校正

@co63oc
Copy link
Contributor Author

co63oc commented Aug 2, 2023

有些组合规则挺复杂的,因此建议与 转换规则 共同实现,互相校正

转换规则PR PaddlePaddle/PaConvert#217

| driver | - | cuSOLVER 方法名,Paddle 无此参数,暂无转写方式。 |
| - | full_matrices | 是否计算完整的 U 和 V 矩阵,Paddle 为 False,Pytorch 无此参数,Paddle 使用默认即可。 |
| out | - | 表示输出的 Tensor,Paddle 无此参数,需要转写。 |
| 返回值 | 返回值 | PyTorch 返回值为 S,Paddle 返回多个值,需要转写。 |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以写下paddle返回的这三个值

Copy link
Contributor Author

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 无此参数,暂无转写方式。 |
Copy link
Collaborator

@zhwesky2010 zhwesky2010 Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个影响计算结果吗,不影响的话就是 可直接删除 的话术,可以查看其他API描述直接删除的话术

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

计算结果使用的不同算法,可能精度上有较小差异,对结果影响不大,已修改 可直接删除

Copy link
Collaborator

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhwesky2010 zhwesky2010 merged commit 5b05ce7 into PaddlePaddle:develop Aug 14, 2023
1 check passed
@co63oc co63oc deleted the api255 branch August 30, 2023 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants