-
Notifications
You must be signed in to change notification settings - Fork 764
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
映射文档 No.358/361 #6139
Conversation
感谢你贡献飞桨文档,文档预览构建中,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 时,需要转写。 | |
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.
如果只是一个输入检查的话,不影响输出结果的话,不转的话也是可以的,就是可 直接删除 的那个话术。另外这个和lu_factor的区别就是get_infos对吧
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.
已修改,区别是get_infos,包含 _ex后缀 api 是返回 info
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
358 torch.linalg.lu_factor
361 torch.linalg.lu_factor_ex