diff --git a/odl/contrib/tensorflow/README.md b/odl/contrib/tensorflow/README.md index f826a4cea7b..dbc02674d11 100644 --- a/odl/contrib/tensorflow/README.md +++ b/odl/contrib/tensorflow/README.md @@ -20,3 +20,5 @@ Specifically * [tensorflow_layer_ray_transform.py](examples/tensorflow_layer_ray_transform.py) shows how a `RayTransform` can be converted to a tensorflow layer. * [tensorflow_operator_matrix.py](examples/tensorflow_operator_matrix.py) shows how `tf.matmul` can be used as a ODL operator. * [tensorflow_tomography.py](examples/tensorflow_tomography.py) shows how tensorflow optimizers can be used with ODL operators to solve inverse problems. + +There are also some rudimentary tests in the [test](test) folder. \ No newline at end of file diff --git a/odl/contrib/tensorflow/space.py b/odl/contrib/tensorflow/space.py index e8811ef79ee..8fc3b719c6a 100644 --- a/odl/contrib/tensorflow/space.py +++ b/odl/contrib/tensorflow/space.py @@ -110,7 +110,7 @@ def data(self, value): self._data = value def __repr__(self): - return '{}.element({})'.format(self.space, self.data) + return '{!r}.element({!r})'.format(self.space, self.data) class TensorflowSpaceOperator(Operator):