Internal change.

PiperOrigin-RevId: 551648705
This commit is contained in:
Galen Andrew 2023-07-27 14:55:07 -07:00 committed by A. Unique TensorFlower
parent 134c898ded
commit 67c9c2424c
4 changed files with 10 additions and 51 deletions

View file

@ -13,7 +13,6 @@ py_library(
name = "compute_dp_sgd_privacy_lib",
srcs = ["compute_dp_sgd_privacy_lib.py"],
srcs_version = "PY3",
deps = ["@com_google_differential_py//dp_accounting:accounting"],
)
py_binary(
@ -42,7 +41,6 @@ py_binary(
py_library(
name = "compute_noise_from_budget_lib",
srcs = ["compute_noise_from_budget_lib.py"],
deps = ["@com_google_differential_py//dp_accounting:accounting"],
)
py_test(
@ -84,7 +82,6 @@ py_library(
name = "tree_aggregation_accountant",
srcs = ["tree_aggregation_accountant.py"],
srcs_version = "PY3",
deps = ["@com_google_differential_py//dp_accounting:accounting"],
)
py_test(
@ -92,8 +89,5 @@ py_test(
srcs = ["tree_aggregation_accountant_test.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
":tree_aggregation_accountant",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = [":tree_aggregation_accountant"],
)

View file

@ -44,7 +44,6 @@ py_library(
deps = [
":discrete_gaussian_utils",
":dp_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -67,7 +66,6 @@ py_library(
deps = [
":discrete_gaussian_utils",
":dp_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -90,7 +88,6 @@ py_library(
deps = [
":dp_query",
":normalized_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -109,10 +106,7 @@ py_library(
name = "gaussian_query",
srcs = ["gaussian_query.py"],
srcs_version = "PY3",
deps = [
":dp_query",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = [":dp_query"],
)
py_test(
@ -131,10 +125,7 @@ py_library(
name = "no_privacy_query",
srcs = ["no_privacy_query.py"],
srcs_version = "PY3",
deps = [
":dp_query",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = [":dp_query"],
)
py_test(
@ -173,10 +164,7 @@ py_library(
name = "nested_query",
srcs = ["nested_query.py"],
srcs_version = "PY3",
deps = [
":dp_query",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = [":dp_query"],
)
py_test(
@ -202,7 +190,6 @@ py_library(
":dp_query",
":gaussian_query",
":quantile_estimator_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -282,7 +269,6 @@ py_library(
deps = [
":dp_query",
":tree_aggregation",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -294,7 +280,6 @@ py_library(
":distributed_discrete_gaussian_query",
":dp_query",
":gaussian_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)
@ -332,7 +317,6 @@ py_library(
":dp_query",
":quantile_estimator_query",
":tree_aggregation_query",
"@com_google_differential_py//dp_accounting:accounting",
],
)

View file

@ -17,7 +17,6 @@ py_library(
":datasets",
":single_layer_softmax",
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras",
"@com_google_differential_py//dp_accounting:accounting",
],
)

View file

@ -25,10 +25,7 @@ py_binary(
srcs = ["mnist_dpsgd_tutorial_eager.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/optimizers:dp_optimizer"],
)
py_binary(
@ -36,10 +33,7 @@ py_binary(
srcs = ["mnist_dpsgd_tutorial_keras.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/optimizers:dp_optimizer_keras"],
)
py_binary(
@ -47,10 +41,7 @@ py_binary(
srcs = ["mnist_dpsgd_tutorial_keras_model.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/keras_models:dp_keras_model",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/keras_models:dp_keras_model"],
)
py_binary(
@ -58,10 +49,7 @@ py_binary(
srcs = ["mnist_dpsgd_tutorial_vectorized.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/optimizers:dp_optimizer_vectorized",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/optimizers:dp_optimizer_vectorized"],
)
py_binary(
@ -81,10 +69,7 @@ py_binary(
srcs = ["mnist_lr_tutorial.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/optimizers:dp_optimizer"],
)
py_binary(
@ -92,10 +77,7 @@ py_binary(
srcs = ["lm_dpsgd_tutorial.py"],
python_version = "PY3",
srcs_version = "PY3",
deps = [
"//tensorflow_privacy/privacy/optimizers:dp_optimizer",
"@com_google_differential_py//dp_accounting:accounting",
],
deps = ["//tensorflow_privacy/privacy/optimizers:dp_optimizer"],
)
py_binary(