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.358/361 #6139

Merged
merged 2 commits into from
Aug 29, 2023
Merged

映射文档 No.358/361 #6139

merged 2 commits into from
Aug 29, 2023

Conversation

co63oc
Copy link
Contributor

@co63oc co63oc commented Aug 26, 2023

PaddlePaddle/PaConvert#112

358 torch.linalg.lu_factor
361 torch.linalg.lu_factor_ex

@paddle-bot
Copy link

paddle-bot bot commented Aug 26, 2023

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

| A | x | 表示需要进行 LU 分解的输入 Tensor ,仅参数名不一致。 |
| pivot | pivot | 表示 LU 分解时是否进行旋转。 |
| - | get_infos | 表示是否返回分解状态信息 ,PyTorch 返回 infos 信息,Paddle 需要设置为 True。 |
| check_errors | - | 检查 infos 的内容,如果为非 0 抛出错误, Paddle 无此参数,Pytorch 为 True 时,需要转写。 |
Copy link
Collaborator

@zhwesky2010 zhwesky2010 Aug 28, 2023

Choose a reason for hiding this comment

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

如果只是一个输入检查的话,不影响输出结果的话,不转的话也是可以的,就是可 直接删除 的那个话术。另外这个和lu_factor的区别就是get_infos对吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已修改,区别是get_infos,包含 _ex后缀 api 是返回 info

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 9af7943 into PaddlePaddle:develop Aug 29, 2023
@co63oc co63oc deleted the api358 branch September 7, 2023 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants