Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is perform_sinkhorn only applied for 2D tensor? #5

Open
daifeng2016 opened this issue Nov 7, 2021 · 1 comment
Open

Is perform_sinkhorn only applied for 2D tensor? #5

daifeng2016 opened this issue Nov 7, 2021 · 1 comment

Comments

@daifeng2016
Copy link

Hi, when reading the code, I found that "torch.mm(K.t(),a)" is used in perform_sinkhorn function. Does that mean only 2D correlation tensor can be processed per time. But in most cases, corretation tensor is 3D or 4D tensor.

@csyanbin
Copy link
Owner

Yes, as far as I know, the original Sinkhorn only supports 2D correlation calculation.

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

No branches or pull requests

2 participants