首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 3188
简介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)
相关文章
- windows10 onenote 显示英文 怎么办?
- scp 文件 : /目录: Permission denied
- idea maven 报-source 1.5 中不支持 diamond 运算符
- git中报unable to auto-detect email address
- MapReduce报错:Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface javax.xml.soap.Text
- Java compiler level does not match the version of the installed Java project facet
- tf.matmul()报错expected scalar type Float but found Double
- Python“Non-ASCII character 'xe5' in file”报错问题
- 创建Maven项目时提示web.xml is missing and <failOnMissingWebXml> is set to true错误解决方案
- clion ctrl+鼠标左键不能调到函数实现
