Skip to content

Commit 3c53834

Browse files
author
Hicham Janati
committed
add unbalanced sinkhorn algorithm
1 parent 5a6b226 commit 3c53834

File tree

2 files changed

+408
-1
lines changed

2 files changed

+408
-1
lines changed

ot/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@
2020
from . import gromov
2121
from . import smooth
2222
from . import stochastic
23+
from . import unbalanced
2324

2425
# OT functions
2526
from .lp import emd, emd2
2627
from .bregman import sinkhorn, sinkhorn2, barycenter
28+
from .unbalanced import sinkhorn_unbalanced
2729
from .da import sinkhorn_lpl1_mm
2830

2931
# utils functions
@@ -33,4 +35,5 @@
3335

3436
__all__ = ["emd", "emd2", "sinkhorn", "sinkhorn2", "utils", 'datasets',
3537
'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',
36-
'dist', 'unif', 'barycenter', 'sinkhorn_lpl1_mm', 'da', 'optim']
38+
'dist', 'unif', 'barycenter', 'sinkhorn_lpl1_mm', 'da', 'optim',
39+
'sinkhorn_unbalanced']

0 commit comments

Comments
 (0)