Skip to content

Commit abfe0f0

Browse files
anandoleetensorflower-gardener
authored andcommitted
Internal Code Change
PiperOrigin-RevId: 581148195
1 parent cf43d93 commit abfe0f0

File tree

18 files changed

+63
-0
lines changed

18 files changed

+63
-0
lines changed

tensorflow_model_optimization/python/core/clustering/keras/BUILD

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ py_test(
125125
":clusterable_layer",
126126
":clustering_registry",
127127
# absl/testing:parameterized dep1,
128+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
128129
# tensorflow dep1,
129130
"//tensorflow_model_optimization/python/core/clustering/keras/experimental:cluster",
130131
],
@@ -140,6 +141,7 @@ py_strict_test(
140141
":cluster_config",
141142
":clustering_centroids",
142143
# absl/testing:parameterized dep1,
144+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
143145
# numpy dep1,
144146
# tensorflow dep1,
145147
],
@@ -157,6 +159,7 @@ py_strict_test(
157159
":cluster_wrapper",
158160
":clusterable_layer",
159161
# absl/testing:parameterized dep1,
162+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
160163
# tensorflow dep1,
161164
],
162165
)
@@ -172,6 +175,7 @@ py_strict_test(
172175
":clusterable_layer",
173176
":clustering_registry",
174177
# absl/testing:parameterized dep1,
178+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
175179
# tensorflow dep1,
176180
],
177181
)
@@ -186,6 +190,7 @@ py_test(
186190
":cluster",
187191
":cluster_config",
188192
# absl/testing:parameterized dep1,
193+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
189194
# numpy dep1,
190195
# tensorflow dep1,
191196
"//tensorflow_model_optimization/python/core/clustering/keras/experimental:cluster",
@@ -202,6 +207,7 @@ py_strict_test(
202207
":cluster_config",
203208
":cluster_wrapper",
204209
# absl/testing:parameterized dep1,
210+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
205211
# numpy dep1,
206212
# tensorflow dep1,
207213
"//tensorflow_model_optimization/python/core/clustering/keras/experimental:cluster",
@@ -220,6 +226,7 @@ py_strict_test(
220226
":cluster_config",
221227
":clusterable_layer",
222228
":clustering_algorithm",
229+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
223230
# tensorflow dep1,
224231
],
225232
)
@@ -234,6 +241,7 @@ py_strict_test(
234241
":cluster",
235242
":cluster_config",
236243
# absl/testing:parameterized dep1,
244+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
237245
# tensorflow dep1,
238246
"//tensorflow_model_optimization/python/core/clustering/keras/experimental:cluster",
239247
],

tensorflow_model_optimization/python/core/common/keras/compression/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ py_strict_test(
3131
python_version = "PY3",
3232
deps = [
3333
":schedules",
34+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3435
# tensorflow dep1,
3536
],
3637
)

tensorflow_model_optimization/python/core/common/keras/compression/algorithms/BUILD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ py_strict_test(
2929
deps = [
3030
":epr",
3131
# absl/testing:parameterized dep1,
32+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3233
# tensorflow dep1,
3334
],
3435
)
@@ -51,6 +52,7 @@ py_strict_test(
5152
tags = ["requires-net:external"],
5253
deps = [
5354
":same_training_and_inference",
55+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
5456
# tensorflow dep1,
5557
"//tensorflow_model_optimization/python/core/keras/testing:test_utils_mnist",
5658
],
@@ -74,6 +76,7 @@ py_strict_test(
7476
tags = ["requires-net:external"],
7577
deps = [
7678
":different_training_and_inference",
79+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
7780
# tensorflow dep1,
7881
"//tensorflow_model_optimization/python/core/keras/testing:test_utils_mnist",
7982
],
@@ -97,6 +100,7 @@ py_strict_test(
97100
tags = ["requires-net:external"],
98101
deps = [
99102
":bias_only",
103+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
100104
# tensorflow dep1,
101105
"//tensorflow_model_optimization/python/core/keras/testing:test_utils_mnist",
102106
],
@@ -122,6 +126,7 @@ py_strict_test(
122126
tags = ["requires-net:external"],
123127
deps = [
124128
":weight_clustering",
129+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
125130
# tensorflow dep1,
126131
"//tensorflow_model_optimization/python/core/clustering/keras:cluster_config",
127132
],
@@ -145,6 +150,7 @@ py_strict_test(
145150
tags = ["requires-net:external"],
146151
deps = [
147152
":periodical_update_and_scheduling",
153+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
148154
# tensorflow dep1,
149155
"//tensorflow_model_optimization/python/core/keras/testing:test_utils_mnist",
150156
],

tensorflow_model_optimization/python/core/internal/tensor_encoding/core/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ py_strict_test(
3737
deps = [
3838
":core_encoder",
3939
":encoding_stage",
40+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
4041
# numpy dep1,
4142
# tensorflow dep1,
4243
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",
@@ -60,6 +61,7 @@ py_strict_test(
6061
deps = [
6162
":encoding_stage",
6263
# absl/testing:parameterized dep1,
64+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
6365
# mock dep1,
6466
# numpy dep1,
6567
# tensorflow dep1,
@@ -87,6 +89,7 @@ py_strict_test(
8789
":encoding_stage",
8890
":gather_encoder",
8991
# absl/testing:parameterized dep1,
92+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
9093
# numpy dep1,
9194
# tensorflow dep1,
9295
# python/framework:test_lib tensorflow dep2,
@@ -113,6 +116,7 @@ py_strict_test(
113116
":core_encoder",
114117
":simple_encoder",
115118
# absl/testing:parameterized dep1,
119+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
116120
# tensorflow dep1,
117121
# python/framework:test_lib tensorflow dep2,
118122
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",

tensorflow_model_optimization/python/core/internal/tensor_encoding/encoders/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ py_strict_test(
3535
deps = [
3636
":common_encoders",
3737
# absl/testing:parameterized dep1,
38+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3839
# tensorflow dep1,
3940
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/core:core_encoder",
4041
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/core:gather_encoder",

tensorflow_model_optimization/python/core/internal/tensor_encoding/stages/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ py_strict_test(
3535
deps = [
3636
":stages_impl",
3737
# absl/testing:parameterized dep1,
38+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3839
# numpy dep1,
3940
# tensorflow dep1,
4041
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",

tensorflow_model_optimization/python/core/internal/tensor_encoding/stages/research/BUILD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ py_strict_test(
3535
deps = [
3636
":clipping",
3737
# absl/testing:parameterized dep1,
38+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3839
# numpy dep1,
3940
# tensorflow dep1,
4041
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",
@@ -60,6 +61,7 @@ py_strict_test(
6061
deps = [
6162
":kashin",
6263
# absl/testing:parameterized dep1,
64+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
6365
# numpy dep1,
6466
# tensorflow dep1,
6567
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",
@@ -84,6 +86,7 @@ py_strict_test(
8486
deps = [
8587
":quantization",
8688
# absl/testing:parameterized dep1,
89+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
8790
# numpy dep1,
8891
# tensorflow dep1,
8992
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",
@@ -107,6 +110,7 @@ py_strict_test(
107110
deps = [
108111
":misc",
109112
# absl/testing:parameterized dep1,
113+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
110114
# numpy dep1,
111115
# tensorflow dep1,
112116
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/testing:test_utils",

tensorflow_model_optimization/python/core/internal/tensor_encoding/testing/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ py_strict_test(
3636
deps = [
3737
":test_utils",
3838
# absl/testing:parameterized dep1,
39+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3940
# mock dep1,
4041
# numpy dep1,
4142
# six dep1,

tensorflow_model_optimization/python/core/internal/tensor_encoding/utils/BUILD

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ py_strict_test(
3535
deps = [
3636
":py_utils",
3737
# absl/testing:parameterized dep1,
38+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
3839
# numpy dep1,
3940
# tensorflow dep1,
4041
],
@@ -57,6 +58,7 @@ py_strict_test(
5758
deps = [
5859
":tf_utils",
5960
# absl/testing:parameterized dep1,
61+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
6062
# numpy dep1,
6163
# scipy dep1,
6264
# tensorflow dep1,

tensorflow_model_optimization/python/core/keras/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ py_strict_test(
6262
python_version = "PY3",
6363
deps = [
6464
":metrics",
65+
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
6566
# mock dep1,
6667
# tensorflow dep1,
6768
# python/eager:monitoring tensorflow dep2,

0 commit comments

Comments
 (0)