From 3dc2b398d20bc394e3f6c652a05f40c1faff92e0 Mon Sep 17 00:00:00 2001 From: Steve Chien Date: Wed, 3 Apr 2019 12:48:02 -0700 Subject: [PATCH] Closes #41 PiperOrigin-RevId: 241786994 --- tutorials/mnist_dpsgd_tutorial_eager.py | 2 +- tutorials/mnist_dpsgd_tutorial_keras.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/mnist_dpsgd_tutorial_eager.py b/tutorials/mnist_dpsgd_tutorial_eager.py index 1adb88f..1e9b423 100644 --- a/tutorials/mnist_dpsgd_tutorial_eager.py +++ b/tutorials/mnist_dpsgd_tutorial_eager.py @@ -21,8 +21,8 @@ import tensorflow as tf from privacy.analysis.rdp_accountant import compute_rdp from privacy.analysis.rdp_accountant import get_privacy_spent +from privacy.dp_query.gaussian_query import GaussianAverageQuery from privacy.optimizers.dp_optimizer import DPGradientDescentOptimizer -from privacy.optimizers.gaussian_query import GaussianAverageQuery # Compatibility with tf 1 and 2 APIs try: diff --git a/tutorials/mnist_dpsgd_tutorial_keras.py b/tutorials/mnist_dpsgd_tutorial_keras.py index b3e0845..e044908 100644 --- a/tutorials/mnist_dpsgd_tutorial_keras.py +++ b/tutorials/mnist_dpsgd_tutorial_keras.py @@ -22,8 +22,8 @@ import tensorflow as tf from privacy.analysis.rdp_accountant import compute_rdp from privacy.analysis.rdp_accountant import get_privacy_spent +from privacy.dp_query.gaussian_query import GaussianAverageQuery from privacy.optimizers.dp_optimizer import DPGradientDescentOptimizer -from privacy.optimizers.gaussian_query import GaussianAverageQuery # Compatibility with tf 1 and 2 APIs try: