Is there a linear solver for xA=B like mrdivide in matlab?

I know that torch.solve solves Ax=B for x, but Is there a linear solver for xA=B like mrdivide in matlab?
Thank you!

1 Like

Hi,

I don’t think we have that function. But you can use compute a pseudo inverse for A with torch.pinv() to get the same result.

1 Like