From 6da9c23287bd98f018b3817d71e6c78fbd6665a7 Mon Sep 17 00:00:00 2001 From: MathieuCarriere Date: Wed, 1 Jun 2022 18:51:53 +0200 Subject: fix doc --- src/python/gudhi/tensorflow/rips_layer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python/gudhi/tensorflow/rips_layer.py') diff --git a/src/python/gudhi/tensorflow/rips_layer.py b/src/python/gudhi/tensorflow/rips_layer.py index b5b58ab4..97c2692d 100644 --- a/src/python/gudhi/tensorflow/rips_layer.py +++ b/src/python/gudhi/tensorflow/rips_layer.py @@ -63,7 +63,7 @@ class RipsLayer(tf.keras.layers.Layer): X (TensorFlow variable): point cloud of shape [number of points, number of dimensions] Returns: - dgms (list of tuple of TensorFlow variables): list of Rips persistence diagrams. The length of this list is the same than that of dimensions, i.e., there is one persistence diagram per homology dimension provided in the input list dimensions. Moreover, the finite and essential parts of the persistence diagrams are provided separately: each element of this list is a tuple of size two that contains the finite and essential parts of the corresponding persistence diagram, of shapes [num_finite_points, 2] and [num_essential_points, 1] respectively + List[Tuple[tf.Tensor,tf.Tensor]]: List of Rips persistence diagrams. The length of this list is the same than that of dimensions, i.e., there is one persistence diagram per homology dimension provided in the input list dimensions. Moreover, the finite and essential parts of the persistence diagrams are provided separately: each element of this list is a tuple of size two that contains the finite and essential parts of the corresponding persistence diagram, of shapes [num_finite_points, 2] and [num_essential_points, 1] respectively """ # Compute distance matrix DX = tf.norm(tf.expand_dims(X, 1)-tf.expand_dims(X, 0), axis=2) -- cgit v1.2.3