Performance improvement sinkhorn
Performance improvement sinkhorn

Doing the computation this way is equivalent and allows to reduce the space complexity required from O(max(a, b)^2) to O(a*b) (especially usefull to transport a small number of sources example to a lot of target)

This also allows to decrease the computation time.

rflamary/POT,rflamary/POT,aje/POT,aje/POT