summaryrefslogtreecommitdiff
path: root/ot/gpu
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2019-07-02 16:42:26 +0200
committerGitHub <noreply@github.com>2019-07-02 16:42:26 +0200
commit8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (patch)
treed2eecc0bb96d5937d30e43993a732ae32eec3438 /ot/gpu
parenta9b8af146648ee2ae50baf46e69e6281f6b279e4 (diff)
parent5b6eb56f2d4bfdaeaa45970c386c42c21d7d1caf (diff)
Merge pull request #90 from rtavenar/dev-doctests
[MRG] Have Travis actually execute doctests
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
----------