summaryrefslogtreecommitdiff
path: root/ot/sliced.py
diff options
context:
space:
mode:
authorClément Bonet <32179275+clbonet@users.noreply.github.com>2023-04-18 18:01:19 +0200
committerGitHub <noreply@github.com>2023-04-18 18:01:19 +0200
commit9aa96c8247afd6e98d8bd470a6adb1be0f1c467e (patch)
tree3f213c8d844d6f24f88c83deebec55f45391e4f9 /ot/sliced.py
parent1078dcc3530a7f95fd77d19d115d46f39c2574bc (diff)
[MRG] Fix Bug binary_search_circle on GPU and Gradients (#457)
* W circle + SSW * Tests + Example SSW_1 * Example Wasserstein Circle + Tests * Wasserstein on the circle wrt Unif * Example SSW unif * pep8 * np.linalg.qr for numpy < 1.22 by batch + add python3.11 to tests * np qr * rm test python 3.11 * update names, tests, backend transpose * Comment error batchs * semidiscrete_wasserstein2_unif_circle example * torch permute method instead of torch.permute for previous versions * update comments and doc * doc wasserstein circle model as [0,1[ * Added ot.utils.get_coordinate_circle to get coordinates on the circle in turn * Bug cuda w_circle + gradient ssw * Bug cuda w_circle + gradient ssw * backend detach * Add PR in Releases.md --------- Co-authored-by: Rémi Flamary <remi.flamary@gmail.com>
Diffstat (limited to 'ot/sliced.py')
-rw-r--r--ot/sliced.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/sliced.py b/ot/sliced.py
index 077ff0b..fa2141e 100644
--- a/ot/sliced.py
+++ b/ot/sliced.py
@@ -271,7 +271,7 @@ def sliced_wasserstein_sphere(X_s, X_t, a=None, b=None, n_projections=50,
- :math:`P^U_\# \mu` stands for the pushforwards of the projection :math:`\forall x\in S^{d-1},\ P^U(x) = \frac{U^Tx}{\|U^Tx\|_2}`
- The function runs on backend but tensorflow is not supported.
+ The function runs on backend but tensorflow and jax are not supported.
Parameters
----------