Skip to content

Conversation

ztony0712
Copy link

In "Compute regularized least squares solution", the np.linalg.pinv() should be changed to torch.linalg.pinv(). Hence, all correspondent variables are calculated in torch tensors.

There should be some better methods, this merge is just a temporary solution. Thanks to @hongxiaoy for the help.

In "Compute regularized least squares solution", the
np.linalg.pinv() should be changed to torch.linalg.pinv().
Hence, all correspondent variables are calculated in torch tensors.

There should be some better methods, this merge is just a temporary solution.
Thanks to @hongxiaoy for the help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant