首页> 开发问题 >其它问题 其它问题
module 'torch' has no attribute 'gesv'
作者:小萝卜 2019-12-03 【 其它 】 浏览 2936
简介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)
相关文章
- 报错:configure: error: no acceptable C compiler found in $PATH
- Python运行语法错误:IndentationError: unindent does not match any outer indentation level
- Maven C盘用户文件下没有.m2
- scp 文件 : /目录: Permission denied
- Unreachable statement
- Mapreduce报错:java.lang.ClassNotFoundException: Class Mapper not found
- git中报unable to auto-detect email address
- tf.matmul()报错expected scalar type Float but found Double
- datagrid MAC和VPNIP显示不出来,Time显示错误的问题
- matlab命令行双箭头消失