首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 2871
简介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)
相关文章
- tf.matmul()报错expected scalar type Float but found Double
- 解决:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- 心路历程——毕设程序mr跑不通的问题
- VMWARE虚拟机安装64位系统此主机支持IntelVTx 但IntelVTx处于禁用状态
- Namenode 没启动
- Python问题:SyntaxError: Non-ASCII character '\xe2' in file
- GitHub 上传文件过大报错:remote: error: GH001: Large files detected.
- scp 文件 : /目录: Permission denied