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

【Hackathon 5th No.44】API转换 42-61 -part #6288

Merged
merged 5 commits into from
Nov 15, 2023

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Nov 5, 2023

https://github.com/PaddlePaddle/community/blob/master/hackathon/hackathon_5th/%E3%80%90PaddlePaddle%20Hackathon%205th%E3%80%91%E5%BC%80%E6%BA%90%E8%B4%A1%E7%8C%AE%E4%B8%AA%E4%BA%BA%E6%8C%91%E6%88%98%E8%B5%9B%E6%A1%86%E6%9E%B6%E5%BC%80%E5%8F%91%E4%BB%BB%E5%8A%A1%E5%90%88%E9%9B%86.md#no44%E4%B8%BApaddle%E4%BB%A3%E7%A0%81%E8%BD%AC%E6%8D%A2%E5%B7%A5%E5%85%B7%E6%96%B0%E5%A2%9Eapi%E8%BD%AC%E6%8D%A2%E8%A7%84%E5%88%99

API转换 第3组(编号为42 ~ 61)

42	torch.linalg.eigh	paddle.linalg.eigh	返回第二个值参数符号不同,不确定是否是功能缺失
43	torch.linalg.eigvalsh	paddle.linalg.eigvalsh	已有文档验证无误
44	torch.linalg.pinv	paddle.linalg.pinv	修改文档参数
45	torch.linalg.svd	paddle.linalg.svd	返回值只有S相同,U,V部分值符号不同,不确定是否分类功能缺失
46	torch.linalg.solve	paddle.linalg.solve	已有文档验证无误
47	torch.linalg.eig	paddle.linalg.eig	修改文档参数
48	torch.Tensor.float_power		增加文档,组合替代实现
49	torch.Tensor.float_power_		增加文档,组合替代实现
50	torch.Tensor.lstsq	paddle.Tensor.lstsq	功能缺失,文档已说明返回值不同,原修改PR  https://github.com/PaddlePaddle/PaConvert/pull/219
51	torch.pca_lowrank	paddle.linalg.pca_lowrank	已有文档验证无误
52	torch.symeig	paddle.linalg.eigh	python1.9以上版本不支持,修改文档内容,如果替换为eigh,返回值第二个参数符号不同
53	torch.Tensor.symeig	paddle.linalg.eigh	python1.9以上版本不支持,修改文档内容,如果替换为eigh,返回值第二个参数符号不同
54	torch.linalg.inv_ex	paddle.linalg.inv	功能缺失,pytorch 返回info字段,paddle不支持
55	torch.linalg.matrix_norm	paddle.linalg.norm	增加文档
56	torch.linalg.vector_norm	paddle.linalg.norm	增加文档
57	torch.linalg.cholesky_ex	paddle.linalg.cholesky	功能缺失,pytorch 返回info字段,paddle不支持
58	torch.Tensor.cholesky_solve	paddle.Tensor.cholesky_solve	修改文档参数
59	torch.Tensor.triangular_solve	paddle.Tensor.triangular_solve	修改文档分类
60	torch.autograd.enable_grad	paddle.enable_grad	增加文档
61	torch.autograd.set_grad_enabled	paddle.set_grad_enabled	增加文档

torch.linalg.eigh 返回值符号不同
image

torch.linalg.svd 返回值符号不同
image

Copy link

paddle-bot bot commented Nov 10, 2023

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

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.

仔细检查下:上下文的diff

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 d215158 into PaddlePaddle:develop Nov 15, 2023
2 checks passed
@luotao1 luotao1 changed the title 【Hackathon 5th No.44】API转换 42-61 【Hackathon 5th No.44】API转换 42-61 -part Nov 15, 2023
@co63oc co63oc deleted the group3 branch December 7, 2023 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor PaddlePaddle Hackathon 飞桨黑客松活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants