What is the PyTorch equivalent to Numpy's linalg.solve?
I have looked it up and there are some posts, for example this one, that suggest to use torch.gesv but I can't seem to find it in the PyTorch documentation.

Pytorch provides the function torch.solve, which behaves like numpy.linalg.solve. It will output the solution of the the linear system and the LU factorization that has been used to compute it. 
More information and example codes here.
