forked from 626_privacy/tensorflow_privacy
Initial commit
This commit is contained in:
parent
cbce4540d3
commit
4a39d26c2f
3 changed files with 3 additions and 3 deletions
|
@ -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.')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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, '
|
||||
|
|
Loading…
Reference in a new issue