diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2019-07-02 16:42:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 16:42:26 +0200 |
commit | 8b3927bb5e8935c3dbddf054f054dc0c036fbdfe (patch) | |
tree | d2eecc0bb96d5937d30e43993a732ae32eec3438 /ot/gpu | |
parent | a9b8af146648ee2ae50baf46e69e6281f6b279e4 (diff) | |
parent | 5b6eb56f2d4bfdaeaa45970c386c42c21d7d1caf (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.py | 11 |
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 ---------- |