首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 2731
简介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)
相关文章
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- Attempt to invoke interface method 'boolean java.util.List.add(java.lang.Object)' on a null object reference
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态
- 报错:maven:java.lang.NoClassDefFoundError: org/apache/commons/io/Charsets
- Android Studio安装&&安装bug
- 心路历程——毕设程序mr跑不通的问题
- scp 文件 : /目录: Permission denied
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.