Closed jnschnkr closed 1 year ago
Newer PyTorch versions no longer support torch.solve(). The function that replaces it is available since PyTorch 1.9.0.
torch.solve()
This is similar to torch.eig() that was also no longer supported. Here it's enough though to just replace torch.solve() with torch.linalg.solve().
torch.eig()
torch.linalg.solve()
Newer PyTorch versions no longer support
torch.solve()
. The function that replaces it is available since PyTorch 1.9.0.This is similar to
torch.eig()
that was also no longer supported. Here it's enough though to just replacetorch.solve()
withtorch.linalg.solve()
.