SCOT icon indicating copy to clipboard operation
SCOT copied to clipboard

Is perform_sinkhorn only applied for 2D tensor?

Open daifeng2016 opened this issue 3 years ago • 1 comments

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.

daifeng2016 avatar Nov 07 '21 10:11 daifeng2016

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

csyanbin avatar Nov 10 '21 07:11 csyanbin