首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 2574
简介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)
相关文章
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- tf.matmul()报错expected scalar type Float but found Double
- matlab命令行双箭头消失
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- scp 文件 : /目录: Permission denied
- 心路历程——毕设程序mr跑不通的问题
- 无法定位程序输入点到xxx.dll
- Android Studio安装&&安装bug
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案