Skip to content

Commit 7a5f4ed

Browse files
schien1729tensorflower-gardener
authored andcommitted
Internal change.
PiperOrigin-RevId: 455173202
1 parent db292fc commit 7a5f4ed

File tree

6 files changed

+1
-51
lines changed

6 files changed

+1
-51
lines changed

Diff for: g3doc/BUILD

-21
This file was deleted.

Diff for: tensorflow_privacy/privacy/estimators/BUILD

-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ py_library(
2727
"binary_class_head.py",
2828
],
2929
srcs_version = "PY3",
30-
deps = ["//third_party/tensorflow_estimator/python/estimator:binary_class_head"],
3130
)
3231

3332
py_library(
@@ -36,7 +35,6 @@ py_library(
3635
"multi_class_head.py",
3736
],
3837
srcs_version = "PY3",
39-
deps = ["//third_party/tensorflow_estimator/python/estimator:multi_class_head"],
4038
)
4139

4240
py_library(
@@ -45,7 +43,6 @@ py_library(
4543
"multi_label_head.py",
4644
],
4745
srcs_version = "PY3",
48-
deps = ["//third_party/tensorflow_estimator/python/estimator:multi_label_head"],
4946
)
5047

5148
py_library(

Diff for: tensorflow_privacy/privacy/optimizers/BUILD

+1-8
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ py_test(
5353
deps = [
5454
":dp_optimizer",
5555
"//tensorflow_privacy/privacy/dp_query:gaussian_query",
56-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
57-
"//third_party/py/tensorflow:tensorflow_estimator",
5856
],
5957
)
6058

@@ -64,11 +62,7 @@ py_test(
6462
srcs = ["dp_optimizer_vectorized_test.py"],
6563
python_version = "PY3",
6664
srcs_version = "PY3",
67-
deps = [
68-
":dp_optimizer_vectorized",
69-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
70-
"//third_party/py/tensorflow:tensorflow_estimator",
71-
],
65+
deps = [":dp_optimizer_vectorized"],
7266
)
7367

7468
py_test(
@@ -92,6 +86,5 @@ py_test(
9286
deps = [
9387
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras",
9488
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras_vectorized",
95-
"//third_party/py/tensorflow:tensorflow_estimator",
9689
],
9790
)

Diff for: tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/BUILD

-5
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ py_test(
113113
deps = [
114114
":membership_inference_attack",
115115
":tf_estimator_evaluation",
116-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
117-
"//third_party/py/tensorflow:tensorflow_estimator",
118116
],
119117
)
120118

@@ -126,7 +124,6 @@ py_library(
126124
":membership_inference_attack",
127125
":utils",
128126
":utils_tensorboard",
129-
"//third_party/py/tensorflow:tensorflow_estimator",
130127
],
131128
)
132129

@@ -138,8 +135,6 @@ py_binary(
138135
deps = [
139136
":membership_inference_attack",
140137
":tf_estimator_evaluation",
141-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
142-
"//third_party/py/tensorflow:tensorflow_estimator",
143138
],
144139
)
145140

Diff for: tutorials/BUILD

-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ py_binary(
1717
":mnist_dpsgd_tutorial_common",
1818
"//tensorflow_privacy/privacy/analysis:compute_dp_sgd_privacy_lib",
1919
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
20-
"//third_party/py/tensorflow:tensorflow_estimator",
2120
],
2221
)
2322

@@ -64,8 +63,6 @@ py_binary(
6463
srcs_version = "PY3",
6564
deps = [
6665
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_vectorized",
67-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
68-
"//third_party/py/tensorflow:tensorflow_estimator",
6966
"@com_google_differential_py//python/dp_accounting:dp_event",
7067
"@com_google_differential_py//python/dp_accounting/rdp:rdp_privacy_accountant",
7168
],
@@ -80,7 +77,6 @@ py_binary(
8077
":mnist_dpsgd_tutorial_common",
8178
"//tensorflow_privacy/privacy/analysis:compute_dp_sgd_privacy_lib",
8279
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
83-
"//third_party/py/tensorflow:tensorflow_estimator",
8480
],
8581
)
8682

@@ -92,8 +88,6 @@ py_binary(
9288
deps = [
9389
"//tensorflow_privacy/privacy/analysis:rdp_accountant",
9490
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
95-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
96-
"//third_party/py/tensorflow:tensorflow_estimator",
9791
"@com_google_differential_py//python/dp_accounting:dp_event",
9892
"@com_google_differential_py//python/dp_accounting/rdp:rdp_privacy_accountant",
9993
],
@@ -106,8 +100,6 @@ py_binary(
106100
srcs_version = "PY3",
107101
deps = [
108102
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
109-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
110-
"//third_party/py/tensorflow:tensorflow_estimator",
111103
"@com_google_differential_py//python/dp_accounting:dp_event",
112104
"@com_google_differential_py//python/dp_accounting/rdp:rdp_privacy_accountant",
113105
],
@@ -119,8 +111,6 @@ py_binary(
119111
deps = [
120112
"//tensorflow_privacy/privacy/analysis:gdp_accountant",
121113
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
122-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
123-
"//third_party/py/tensorflow:tensorflow_estimator",
124114
],
125115
)
126116

Diff for: tutorials/walkthrough/BUILD

-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,4 @@ py_binary(
77
srcs = ["mnist_scratch.py"],
88
python_version = "PY3",
99
srcs_version = "PY3",
10-
deps = [
11-
"//third_party/py/tensorflow:tensorflow_compat_v1_estimator",
12-
"//third_party/py/tensorflow:tensorflow_estimator",
13-
],
1410
)

0 commit comments

Comments
 (0)