From 4a39d26c2f51fd36750c0510ec9c549eec45d309 Mon Sep 17 00:00:00 2001 From: woodyx218 Date: Thu, 2 Jan 2020 16:37:24 +0800 Subject: [PATCH] Initial commit --- tutorials/adult_tutorial.py | 2 +- tutorials/imdb_tutorial.py | 2 +- tutorials/movielens_tutorial.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/adult_tutorial.py b/tutorials/adult_tutorial.py index a406306..0323875 100644 --- a/tutorials/adult_tutorial.py +++ b/tutorials/adult_tutorial.py @@ -27,7 +27,7 @@ from tensorflow_privacy.privacy.analysis.rdp_accountant import compute_rdp from tensorflow_privacy.privacy.analysis.rdp_accountant import get_privacy_spent from tensorflow_privacy.privacy.optimizers import dp_optimizer -from privacy_accountants import * +from GDprivacy_accountants import * #### FLAGS tf.flags.DEFINE_boolean('dpsgd', True, 'If True, train with DP-SGD. If False, ' 'train with vanilla SGD.') diff --git a/tutorials/imdb_tutorial.py b/tutorials/imdb_tutorial.py index 48ec599..cdb94c3 100644 --- a/tutorials/imdb_tutorial.py +++ b/tutorials/imdb_tutorial.py @@ -27,7 +27,7 @@ from tensorflow_privacy.privacy.analysis.rdp_accountant import compute_rdp from tensorflow_privacy.privacy.analysis.rdp_accountant import get_privacy_spent from tensorflow_privacy.privacy.optimizers import dp_optimizer -from privacy_accountants import * +from GDprivacy_accountants import * from keras.preprocessing import sequence #### FLAGS diff --git a/tutorials/movielens_tutorial.py b/tutorials/movielens_tutorial.py index 035e119..a5c31c2 100644 --- a/tutorials/movielens_tutorial.py +++ b/tutorials/movielens_tutorial.py @@ -30,7 +30,7 @@ from tensorflow_privacy.privacy.analysis.rdp_accountant import compute_rdp from tensorflow_privacy.privacy.analysis.rdp_accountant import get_privacy_spent from tensorflow_privacy.privacy.optimizers import dp_optimizer -from privacy_accountants import * +from GDprivacy_accountants import * #### FLAGS tf.flags.DEFINE_boolean('dpsgd', True, 'If True, train with DP-SGD. If False, '