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)
posted @ 2019-08-15 20:00  Shaw_喆宇  阅读(2973)  评论(0编辑  收藏  举报