tensorflow_privacy/privacy
Ilya Mironov 3c4409d6d6 Restoring ability to run compute_dp_sgd_privacy.py as a standalone script.
At present, the script has no heavy dependencies except for the rdp_accountant, which is by itself pretty light-weight. However, importing rdp_accountant triggers __init__.py in third_party/py/tensorflow_privacy/privacy, which loads TF and all of tf.privacy. The CL adds a check to the __init__.py, which controls this behavior.

PiperOrigin-RevId: 243172355
2019-04-11 17:06:53 -07:00
..
analysis Restoring ability to run compute_dp_sgd_privacy.py as a standalone script. 2019-04-11 17:06:53 -07:00
dp_query Cleanup directory structure, add top-level imports and add normalized_query. 2019-03-25 10:21:04 -07:00
optimizers Use PrivacyLedger for privacy accounting. 2019-03-29 15:31:32 -07:00
__init__.py Restoring ability to run compute_dp_sgd_privacy.py as a standalone script. 2019-04-11 17:06:53 -07:00
BUILD Add DummyOptimizer to top-level imports. 2019-04-09 12:14:22 -07:00