summaryrefslogtreecommitdiff
path: root/src/python/gudhi/point_cloud/knn.py
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2020-08-04 13:22:01 +0200
committerGitHub <noreply@github.com>2020-08-04 13:22:01 +0200
commitf98133a79b8a34ade8a0c214f75264e955420e7e (patch)
treec5fdbd3505989b1913aacb4a4320c7fbf53071b4 /src/python/gudhi/point_cloud/knn.py
parent51081053fe2fddd518303b6521a61dc7fbdab4a8 (diff)
parent47f7f50c8cdb40a0a1fd73432498004f21641803 (diff)
Merge pull request #371 from MathieuCarriere/master
Wasserstein autodiff
Diffstat (limited to 'src/python/gudhi/point_cloud/knn.py')
-rw-r--r--src/python/gudhi/point_cloud/knn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/gudhi/point_cloud/knn.py b/src/python/gudhi/point_cloud/knn.py
index 4652fe80..994be3b6 100644
--- a/src/python/gudhi/point_cloud/knn.py
+++ b/src/python/gudhi/point_cloud/knn.py
@@ -46,7 +46,7 @@ class KNearestNeighbors:
sort_results (bool): if True, then distances and indices of each point are
sorted on return, so that the first column contains the closest points.
Otherwise, neighbors are returned in an arbitrary order. Defaults to True.
- enable_autodiff (bool): if the input is a torch.tensor, jax.numpy.ndarray or tensorflow.Tensor, this
+ enable_autodiff (bool): if the input is a torch.tensor or tensorflow.Tensor, this
instructs the function to compute distances in a way that works with automatic differentiation.
This is experimental, not supported for all metrics, and requires the package EagerPy.
Defaults to False.