stefanonardo / pytorch-esn

An Echo State Network module for PyTorch.
MIT License
211 stars 43 forks source link

Replace deprecated torch.solve() #16

Closed jnschnkr closed 1 year ago

jnschnkr commented 1 year ago

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 replace torch.solve() with torch.linalg.solve().