首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 3298
简介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)
相关文章
- 无法定位程序输入点到xxx.dll
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- 心路历程——毕设程序mr跑不通的问题
- 关于windows10上的sourcetree突然打不开的问题的解决策略
- TypeError: 'newline' is an invalid keyword argument for this function 错误解决
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- git中报unable to auto-detect email address
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- Android Studio安装&&安装bug
