summaryrefslogtreecommitdiff
path: root/ot/gpu
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2019-07-02 16:44:41 +0200
committerRémi Flamary <remi.flamary@gmail.com>2019-07-02 16:44:41 +0200
commit4053866fb2003d6a84353f6a7b209418608c25eb (patch)
tree387a454400c3c853a2b2d12fb51b725ce105a7c2 /ot/gpu
parentef00ce42616fe7adf747c23a5590a83b62171a36 (diff)
parent8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (diff)
Merge branch 'master' into doc_modules
Diffstat (limited to 'ot/gpu')
-rw-r--r--ot/gpu/bregman.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ot/gpu/bregman.py b/ot/gpu/bregman.py
index 978b307..2e2df83 100644
--- a/ot/gpu/bregman.py
+++ b/ot/gpu/bregman.py
@@ -70,17 +70,6 @@ def sinkhorn_knopp(a, b, M, reg, numItermax=1000, stopThr=1e-9,
log : dict
log dictionary return only if log==True in parameters
- Examples
- --------
-
- >>> import ot
- >>> a=[.5,.5]
- >>> b=[.5,.5]
- >>> M=[[0.,1.],[1.,0.]]
- >>> ot.sinkhorn(a,b,M,1)
- array([[ 0.36552929, 0.13447071],
- [ 0.13447071, 0.36552929]])
-
References
----------