From 6248be82903d7c685553429aec30dc02bf2fb270 Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Tue, 15 Aug 2023 11:41:35 -0700 Subject: [PATCH] Internal Code Change PiperOrigin-RevId: 557198768 --- tensorflow_privacy/BUILD | 1 - tensorflow_privacy/privacy/BUILD | 2 -- tensorflow_privacy/privacy/analysis/BUILD | 2 -- tensorflow_privacy/privacy/dp_query/BUILD | 2 -- tensorflow_privacy/privacy/estimators/BUILD | 2 +- tensorflow_privacy/privacy/estimators/v1/BUILD | 2 -- tensorflow_privacy/privacy/fast_gradient_clipping/BUILD | 2 -- .../privacy/fast_gradient_clipping/registry_functions/BUILD | 2 -- tensorflow_privacy/privacy/keras_models/BUILD | 2 -- tensorflow_privacy/privacy/logistic_regression/BUILD | 2 -- tensorflow_privacy/privacy/membership_inference_attack/BUILD | 2 -- tensorflow_privacy/privacy/optimizers/BUILD | 2 -- tensorflow_privacy/privacy/privacy_tests/BUILD | 2 -- .../privacy/privacy_tests/membership_inference_attack/BUILD | 2 -- .../privacy_tests/membership_inference_attack/codelabs/BUILD | 2 -- tensorflow_privacy/privacy/privacy_tests/secret_sharer/BUILD | 2 -- tensorflow_privacy/v1/BUILD | 1 - tutorials/BUILD | 2 -- tutorials/walkthrough/BUILD | 2 -- 19 files changed, 1 insertion(+), 35 deletions(-) diff --git a/tensorflow_privacy/BUILD b/tensorflow_privacy/BUILD index 3bff385..80887e0 100644 --- a/tensorflow_privacy/BUILD +++ b/tensorflow_privacy/BUILD @@ -1,5 +1,4 @@ load("@bazel_skylib//rules:build_test.bzl", "build_test") -load("@rules_python//python:defs.bzl", "py_library") package( default_visibility = ["//visibility:public"], diff --git a/tensorflow_privacy/privacy/BUILD b/tensorflow_privacy/privacy/BUILD index 690c807..b7a6d8f 100644 --- a/tensorflow_privacy/privacy/BUILD +++ b/tensorflow_privacy/privacy/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/analysis/BUILD b/tensorflow_privacy/privacy/analysis/BUILD index 7597e2f..6ff02ae 100644 --- a/tensorflow_privacy/privacy/analysis/BUILD +++ b/tensorflow_privacy/privacy/analysis/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/dp_query/BUILD b/tensorflow_privacy/privacy/dp_query/BUILD index 1feba37..edb27c6 100644 --- a/tensorflow_privacy/privacy/dp_query/BUILD +++ b/tensorflow_privacy/privacy/dp_query/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/estimators/BUILD b/tensorflow_privacy/privacy/estimators/BUILD index 5b5c7bf..ff146c2 100644 --- a/tensorflow_privacy/privacy/estimators/BUILD +++ b/tensorflow_privacy/privacy/estimators/BUILD @@ -1,4 +1,4 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") +load("@rules_python//python:defs.bzl", "py_library") package(default_visibility = ["//visibility:public"]) diff --git a/tensorflow_privacy/privacy/estimators/v1/BUILD b/tensorflow_privacy/privacy/estimators/v1/BUILD index 7d9420e..afa9f2a 100644 --- a/tensorflow_privacy/privacy/estimators/v1/BUILD +++ b/tensorflow_privacy/privacy/estimators/v1/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/fast_gradient_clipping/BUILD b/tensorflow_privacy/privacy/fast_gradient_clipping/BUILD index dba90f5..d7fc560 100644 --- a/tensorflow_privacy/privacy/fast_gradient_clipping/BUILD +++ b/tensorflow_privacy/privacy/fast_gradient_clipping/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) py_library( diff --git a/tensorflow_privacy/privacy/fast_gradient_clipping/registry_functions/BUILD b/tensorflow_privacy/privacy/fast_gradient_clipping/registry_functions/BUILD index 5e5260a..94db8b3 100644 --- a/tensorflow_privacy/privacy/fast_gradient_clipping/registry_functions/BUILD +++ b/tensorflow_privacy/privacy/fast_gradient_clipping/registry_functions/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package( default_visibility = ["//visibility:public"], ) diff --git a/tensorflow_privacy/privacy/keras_models/BUILD b/tensorflow_privacy/privacy/keras_models/BUILD index cb493b9..5082859 100644 --- a/tensorflow_privacy/privacy/keras_models/BUILD +++ b/tensorflow_privacy/privacy/keras_models/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/logistic_regression/BUILD b/tensorflow_privacy/privacy/logistic_regression/BUILD index d3d79a5..3bb343b 100644 --- a/tensorflow_privacy/privacy/logistic_regression/BUILD +++ b/tensorflow_privacy/privacy/logistic_regression/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/membership_inference_attack/BUILD b/tensorflow_privacy/privacy/membership_inference_attack/BUILD index b253b3d..68c68f8 100644 --- a/tensorflow_privacy/privacy/membership_inference_attack/BUILD +++ b/tensorflow_privacy/privacy/membership_inference_attack/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/optimizers/BUILD b/tensorflow_privacy/privacy/optimizers/BUILD index 3eba490..30b834b 100644 --- a/tensorflow_privacy/privacy/optimizers/BUILD +++ b/tensorflow_privacy/privacy/optimizers/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/privacy_tests/BUILD b/tensorflow_privacy/privacy/privacy_tests/BUILD index af20a7c..779b878 100644 --- a/tensorflow_privacy/privacy/privacy_tests/BUILD +++ b/tensorflow_privacy/privacy/privacy_tests/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/BUILD b/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/BUILD index ef0d824..2075bdc 100644 --- a/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/BUILD +++ b/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/codelabs/BUILD b/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/codelabs/BUILD index 7cbd1fb..c622db4 100644 --- a/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/codelabs/BUILD +++ b/tensorflow_privacy/privacy/privacy_tests/membership_inference_attack/codelabs/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_binary") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/privacy/privacy_tests/secret_sharer/BUILD b/tensorflow_privacy/privacy/privacy_tests/secret_sharer/BUILD index 3060900..11c2e99 100644 --- a/tensorflow_privacy/privacy/privacy_tests/secret_sharer/BUILD +++ b/tensorflow_privacy/privacy/privacy_tests/secret_sharer/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_library", "py_test") - package(default_visibility = ["//visibility:public"]) licenses(["notice"]) diff --git a/tensorflow_privacy/v1/BUILD b/tensorflow_privacy/v1/BUILD index a53c20c..af2e247 100644 --- a/tensorflow_privacy/v1/BUILD +++ b/tensorflow_privacy/v1/BUILD @@ -1,5 +1,4 @@ load("@bazel_skylib//rules:build_test.bzl", "build_test") -load("@rules_python//python:defs.bzl", "py_library") package(default_visibility = ["//visibility:public"]) diff --git a/tutorials/BUILD b/tutorials/BUILD index 57336a2..c6a0cb6 100644 --- a/tutorials/BUILD +++ b/tutorials/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_binary", "py_library") - licenses(["notice"]) py_library( diff --git a/tutorials/walkthrough/BUILD b/tutorials/walkthrough/BUILD index e1a6791..c3c2731 100644 --- a/tutorials/walkthrough/BUILD +++ b/tutorials/walkthrough/BUILD @@ -1,5 +1,3 @@ -load("@rules_python//python:defs.bzl", "py_binary") - licenses(["notice"]) py_binary(