Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

torch.lstsq specific case#36

Open
dkurt wants to merge 8 commits intomasterfrom
lstsq
Open

torch.lstsq specific case#36
dkurt wants to merge 8 commits intomasterfrom
lstsq

Conversation

@dkurt
Copy link
Owner

@dkurt dkurt commented Feb 7, 2022

torch.lstsq accepts B and A matrices of shapes MxK and MxN correspondingly. This PR enables least-squares solution for https://github.com/EIDOSlab/torchstain/blob/main/torchstain/normalizers/torch_macenko_normalizer.py where K is always equals 2.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant