首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 3104
简介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)
相关文章
- TypeError: 'newline' is an invalid keyword argument for this function 错误解决
- matlab命令行双箭头消失
- Java compiler level does not match the version of the installed Java project facet
- git中报unable to auto-detect email address
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- 心路历程——毕设程序mr跑不通的问题
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- 关于windows10上的sourcetree突然打不开的问题的解决策略
