Skip to content

Commit c4fea75

Browse files
galenmandrewtensorflower-gardener
authored andcommitted
Remove differential_privacy dp_event classes from TFP top-level symbols.
PiperOrigin-RevId: 454238513
1 parent 125f827 commit c4fea75

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

tensorflow_privacy/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ py_library(
3737
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras",
3838
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras_vectorized",
3939
"//tensorflow_privacy/v1:tensorflow_privacy_v1",
40-
"@com_google_differential_py//python/dp_accounting:dp_event",
4140
],
4241
)
4342

tensorflow_privacy/__init__.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@
2525
# TensorFlow v1 imports
2626
from tensorflow_privacy import v1
2727

28-
# DpEvents
29-
from com_google_differential_py.python.dp_accounting.dp_event import DpEvent
30-
from com_google_differential_py.python.dp_accounting.dp_event import NoOpDpEvent
31-
from com_google_differential_py.python.dp_accounting.dp_event import NonPrivateDpEvent
32-
from com_google_differential_py.python.dp_accounting.dp_event import UnsupportedDpEvent
33-
from com_google_differential_py.python.dp_accounting.dp_event import GaussianDpEvent
34-
from com_google_differential_py.python.dp_accounting.dp_event import SelfComposedDpEvent
35-
from com_google_differential_py.python.dp_accounting.dp_event import ComposedDpEvent
36-
from com_google_differential_py.python.dp_accounting.dp_event import PoissonSampledDpEvent
37-
from com_google_differential_py.python.dp_accounting.dp_event import SampledWithReplacementDpEvent
38-
from com_google_differential_py.python.dp_accounting.dp_event import SampledWithoutReplacementDpEvent
39-
4028
# Analysis
4129
from tensorflow_privacy.privacy.analysis.compute_dp_sgd_privacy_lib import compute_dp_sgd_privacy
4230
from tensorflow_privacy.privacy.analysis.rdp_accountant import compute_heterogeneous_rdp

0 commit comments

Comments
 (0)