summaryrefslogtreecommitdiff
path: root/ot/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ot/__init__.py')
-rw-r--r--ot/__init__.py24
1 files changed, 17 insertions, 7 deletions
diff --git a/ot/__init__.py b/ot/__init__.py
index 0e6e2e2..b6dc2b4 100644
--- a/ot/__init__.py
+++ b/ot/__init__.py
@@ -5,7 +5,8 @@
:py:mod:`ot.lp`, :py:mod:`ot.bregman`, :py:mod:`ot.optim`
:py:mod:`ot.utils`, :py:mod:`ot.datasets`,
:py:mod:`ot.gromov`, :py:mod:`ot.smooth`
- :py:mod:`ot.stochastic`
+ :py:mod:`ot.stochastic`, :py:mod:`ot.partial`, :py:mod:`ot.regpath`
+ , :py:mod:`ot.unbalanced`.
The following sub-modules are not imported due to additional dependencies:
@@ -33,21 +34,30 @@ from . import smooth
from . import stochastic
from . import unbalanced
from . import partial
+from . import backend
+from . import regpath
# OT functions
from .lp import emd, emd2, emd_1d, emd2_1d, wasserstein_1d
from .bregman import sinkhorn, sinkhorn2, barycenter
-from .unbalanced import sinkhorn_unbalanced, barycenter_unbalanced, sinkhorn_unbalanced2
+from .unbalanced import (sinkhorn_unbalanced, barycenter_unbalanced,
+ sinkhorn_unbalanced2)
from .da import sinkhorn_lpl1_mm
+from .sliced import sliced_wasserstein_distance, max_sliced_wasserstein_distance
+from .gromov import (gromov_wasserstein, gromov_wasserstein2,
+ gromov_barycenters, fused_gromov_wasserstein, fused_gromov_wasserstein2)
# utils functions
from .utils import dist, unif, tic, toc, toq
-__version__ = "0.7.0"
+__version__ = "0.8.0"
-__all__ = ['emd', 'emd2', 'emd_1d', 'sinkhorn', 'sinkhorn2', 'utils', 'datasets',
- 'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',
- 'emd_1d', 'emd2_1d', 'wasserstein_1d',
+__all__ = ['emd', 'emd2', 'emd_1d', 'sinkhorn', 'sinkhorn2', 'utils',
+ 'datasets', 'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',
+ 'emd2_1d', 'wasserstein_1d', 'backend',
'dist', 'unif', 'barycenter', 'sinkhorn_lpl1_mm', 'da', 'optim',
'sinkhorn_unbalanced', 'barycenter_unbalanced',
- 'sinkhorn_unbalanced2']
+ 'sinkhorn_unbalanced2', 'sliced_wasserstein_distance',
+ 'gromov_wasserstein', 'gromov_wasserstein2', 'gromov_barycenters', 'fused_gromov_wasserstein', 'fused_gromov_wasserstein2',
+ 'max_sliced_wasserstein_distance',
+ 'smooth', 'stochastic', 'unbalanced', 'partial', 'regpath']