首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 3151
简介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)
相关文章
- 异常解决:util.NativeCodeLoader: Unable to load native-hadoop library for your platform
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- tf.matmul()报错expected scalar type Float but found Double
- 无法定位程序输入点到xxx.dll
- scp 文件 : /目录: Permission denied
- Java compiler level does not match the version of the installed Java project facet
- datagrid MAC和VPNIP显示不出来,Time显示错误的问题
- 关于windows10上的sourcetree突然打不开的问题的解决策略
- git中报unable to auto-detect email address
- Python“Non-ASCII character 'xe5' in file”报错问题
