From f09d7da77c8a7bc1a16abde3f11f611a4fd7b6f5 Mon Sep 17 00:00:00 2001 From: MathieuCarriere Date: Mon, 15 Nov 2021 18:44:34 +0100 Subject: update doc --- src/python/doc/cubical_complex_tflow_itf_ref.rst | 2 +- src/python/doc/ls_simplex_tree_tflow_itf_ref.rst | 2 +- src/python/doc/rips_complex_tflow_itf_ref.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/python/doc/cubical_complex_tflow_itf_ref.rst b/src/python/doc/cubical_complex_tflow_itf_ref.rst index 582e0551..92727a75 100644 --- a/src/python/doc/cubical_complex_tflow_itf_ref.rst +++ b/src/python/doc/cubical_complex_tflow_itf_ref.rst @@ -12,7 +12,7 @@ Example of gradient computed from cubical persistence .. testcode:: - from gudhi.tensorflow import * + from gudhi.tensorflow import CubicalLayer import tensorflow as tf X = tf.Variable([[0.,2.,2.],[2.,2.,2.],[2.,2.,1.]], dtype=tf.float32, trainable=True) diff --git a/src/python/doc/ls_simplex_tree_tflow_itf_ref.rst b/src/python/doc/ls_simplex_tree_tflow_itf_ref.rst index 6c8b5a08..0a6764fa 100644 --- a/src/python/doc/ls_simplex_tree_tflow_itf_ref.rst +++ b/src/python/doc/ls_simplex_tree_tflow_itf_ref.rst @@ -12,7 +12,7 @@ Example of gradient computed from lower-star filtration of a simplex tree .. testcode:: - from gudhi.tensorflow import * + from gudhi.tensorflow import LowerStarSimplexTreeLayer import tensorflow as tf import gudhi as gd diff --git a/src/python/doc/rips_complex_tflow_itf_ref.rst b/src/python/doc/rips_complex_tflow_itf_ref.rst index bd9c5da5..7aa77da6 100644 --- a/src/python/doc/rips_complex_tflow_itf_ref.rst +++ b/src/python/doc/rips_complex_tflow_itf_ref.rst @@ -12,7 +12,7 @@ Example of gradient computed from Vietoris-Rips persistence .. testcode:: - from gudhi.tensorflow import * + from gudhi.tensorflow import RipsLayer import tensorflow as tf X = tf.Variable([[1.,1.],[2.,2.]], dtype=tf.float32, trainable=True) -- cgit v1.2.3