From 0317ce80776b75f584ae87d08fe62b59d8f589f3 Mon Sep 17 00:00:00 2001 From: npapernot Date: Thu, 25 Jul 2019 16:17:56 +0000 Subject: [PATCH] print --- tutorials/bolton_tutorial.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutorials/bolton_tutorial.py b/tutorials/bolton_tutorial.py index 25b4bdd..8cd0aa9 100644 --- a/tutorials/bolton_tutorial.py +++ b/tutorials/bolton_tutorial.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. """Tutorial for bolton module, the model and the optimizer.""" +from __future__ import print_function import tensorflow as tf # pylint: disable=wrong-import-position from privacy.bolton import losses # pylint: disable=wrong-import-position from privacy.bolton import models # pylint: disable=wrong-import-position @@ -116,7 +117,7 @@ try: noise_distribution=noise_distribution, verbose=0) except ValueError as e: - print e + print(e) # ------- # And now, re running with the parameter set. # -------