首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 1887
简介module 'torch' has no attribute 'gesv'
新版torch不支持gesv,使用solve函数。
Kt, _ = torch.gesv(P.mm(H.t()).t(), S)
改成
Kt, _ = torch.solve(P.mm(H.t()).t(), S)
很赞哦! (0)
相关文章
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- Python问题:SyntaxError: Non-ASCII character '\xe2' in file
- git中报unable to auto-detect email address
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- Namenode 没启动
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态
- 报错:configure: error: no acceptable C compiler found in $PATH
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- MATLAB关闭科学计数法显示
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.