From e8113a03658c40eeb8ad6d9cbb3d165848b9d68a Mon Sep 17 00:00:00 2001 From: Galen Andrew Date: Tue, 9 Apr 2019 12:13:59 -0700 Subject: [PATCH] Add DummyOptimizer to top-level imports. PiperOrigin-RevId: 242715034 --- privacy/BUILD | 10 ++++++++++ privacy/__init__.py | 5 +---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 privacy/BUILD diff --git a/privacy/BUILD b/privacy/BUILD new file mode 100644 index 0000000..bcc6d33 --- /dev/null +++ b/privacy/BUILD @@ -0,0 +1,10 @@ +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) # Apache 2.0 + +exports_files(["LICENSE"]) + +py_library( + name = "privacy", + srcs = ["__init__.py"], +) diff --git a/privacy/__init__.py b/privacy/__init__.py index f8d51a2..b8f4b8f 100644 --- a/privacy/__init__.py +++ b/privacy/__init__.py @@ -13,10 +13,7 @@ # limitations under the License. """TensorFlow Privacy library.""" -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function - +from privacy.analysis.privacy_ledger import DummyLedger from privacy.analysis.privacy_ledger import GaussianSumQueryEntry from privacy.analysis.privacy_ledger import PrivacyLedger from privacy.analysis.privacy_ledger import QueryWithLedger