Skip to content

Commit aa35de6

Browse files
h-jootensorflower-gardener
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 870988092
1 parent b964adc commit aa35de6

20 files changed

Lines changed: 61 additions & 59 deletions

File tree

tensorflow_model_optimization/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ exports_files(["LICENSE"])
1717
py_library(
1818
name = "tensorflow_model_optimization",
1919
srcs = ["__init__.py"],
20-
strict_deps = True,
20+
strict_deps = False,
2121
deps = [
2222
# distutils dep1,
2323
"//tensorflow_model_optimization/python", # buildcleaner: keep

tensorflow_model_optimization/python/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ licenses(["notice"])
77
py_library(
88
name = "python",
99
srcs = ["__init__.py"],
10-
strict_deps = True,
10+
strict_deps = False,
1111
deps = [
1212
"//tensorflow_model_optimization/python/core", # buildcleaner: keep
1313
],

tensorflow_model_optimization/python/core/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ licenses(["notice"])
77
py_library(
88
name = "core",
99
srcs = ["__init__.py"],
10-
strict_deps = True,
10+
strict_deps = False,
1111
deps = [
1212
"//tensorflow_model_optimization/python/core/api", # buildcleaner: keep
1313
"//tensorflow_model_optimization/python/core/clustering", # buildcleaner: keep
@@ -21,5 +21,5 @@ py_library(
2121
py_library(
2222
name = "version",
2323
srcs = ["version.py"],
24-
strict_deps = True,
24+
strict_deps = False,
2525
)

tensorflow_model_optimization/python/core/api/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ py_library(
2727
"sparsity/__init__.py",
2828
"sparsity/keras/__init__.py",
2929
],
30-
strict_deps = True,
30+
strict_deps = False,
3131
deps = [
3232
"//tensorflow_model_optimization/python/core/clustering/keras:cluster",
3333
"//tensorflow_model_optimization/python/core/clustering/keras:cluster_config",

tensorflow_model_optimization/python/core/clustering/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ licenses(["notice"])
77
py_library(
88
name = "clustering",
99
srcs = ["__init__.py"],
10-
strict_deps = True,
10+
strict_deps = False,
1111
deps = [
1212
"//tensorflow_model_optimization/python/core/clustering/keras", # buildcleaner: keep
1313
],

tensorflow_model_optimization/python/core/clustering/keras/BUILD

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ py_library(
1313
srcs = [
1414
"__init__.py",
1515
],
16-
strict_deps = True,
16+
strict_deps = False,
1717
deps = [
1818
":cluster", # buildcleaner: keep
1919
":clustering_callbacks", # buildcleaner: keep
@@ -24,7 +24,7 @@ py_library(
2424
py_library(
2525
name = "cluster",
2626
srcs = ["cluster.py"],
27-
strict_deps = True,
27+
strict_deps = False,
2828
visibility = ["//visibility:public"],
2929
deps = [
3030
":cluster_config",
@@ -38,14 +38,14 @@ py_library(
3838
py_library(
3939
name = "cluster_config",
4040
srcs = ["cluster_config.py"],
41-
strict_deps = True,
41+
strict_deps = False,
4242
visibility = ["//visibility:public"],
4343
)
4444

4545
py_library(
4646
name = "clustering_registry",
4747
srcs = ["clustering_registry.py"],
48-
strict_deps = True,
48+
strict_deps = False,
4949
visibility = ["//visibility:public"],
5050
deps = [
5151
":clusterable_layer",
@@ -58,7 +58,7 @@ py_library(
5858
py_library(
5959
name = "clusterable_layer",
6060
srcs = ["clusterable_layer.py"],
61-
strict_deps = True,
61+
strict_deps = False,
6262
visibility = ["//visibility:public"],
6363
deps = [
6464
# six dep1,
@@ -68,7 +68,7 @@ py_library(
6868
py_library(
6969
name = "clustering_centroids",
7070
srcs = ["clustering_centroids.py"],
71-
strict_deps = True,
71+
strict_deps = False,
7272
visibility = ["//visibility:public"],
7373
deps = [
7474
":cluster_config",
@@ -82,7 +82,7 @@ py_library(
8282
py_library(
8383
name = "cluster_wrapper",
8484
srcs = ["cluster_wrapper.py"],
85-
strict_deps = True,
85+
strict_deps = False,
8686
visibility = ["//visibility:public"],
8787
deps = [
8888
":cluster_config",
@@ -97,7 +97,7 @@ py_library(
9797
py_library(
9898
name = "clustering_algorithm",
9999
srcs = ["clustering_algorithm.py"],
100-
strict_deps = True,
100+
strict_deps = False,
101101
visibility = ["//visibility:public"],
102102
deps = [
103103
# six dep1,
@@ -109,7 +109,7 @@ py_library(
109109
py_library(
110110
name = "clustering_callbacks",
111111
srcs = ["clustering_callbacks.py"],
112-
strict_deps = True,
112+
strict_deps = False,
113113
visibility = ["//visibility:public"],
114114
deps = [
115115
# tensorflow dep1,
@@ -121,6 +121,7 @@ py_test(
121121
name = "cluster_test",
122122
size = "medium",
123123
srcs = ["cluster_test.py"],
124+
strict_deps = False,
124125
visibility = ["//visibility:public"],
125126
deps = [
126127
":cluster",
@@ -189,6 +190,7 @@ py_test(
189190
name = "cluster_integration_test",
190191
size = "medium",
191192
srcs = ["cluster_integration_test.py"],
193+
strict_deps = False,
192194
visibility = ["//visibility:public"],
193195
deps = [
194196
":cluster",

tensorflow_model_optimization/python/core/clustering/keras/experimental/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ py_library(
1111
srcs = [
1212
"__init__.py",
1313
],
14-
strict_deps = True,
14+
strict_deps = False,
1515
deps = [
1616
":cluster", # buildcleaner: keep
1717
],
@@ -20,7 +20,7 @@ py_library(
2020
py_library(
2121
name = "cluster",
2222
srcs = ["cluster.py"],
23-
strict_deps = True,
23+
strict_deps = False,
2424
visibility = ["//visibility:public"],
2525
deps = [
2626
"//tensorflow_model_optimization/python/core/clustering/keras:cluster",

tensorflow_model_optimization/python/core/internal/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ licenses(["notice"])
77
py_library(
88
name = "internal",
99
srcs = ["__init__.py"],
10-
strict_deps = True,
10+
strict_deps = False,
1111
deps = [
1212
"//tensorflow_model_optimization/python/core/internal/tensor_encoding",
1313
],

tensorflow_model_optimization/python/core/internal/tensor_encoding/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ licenses(["notice"])
77
py_library(
88
name = "tensor_encoding",
99
srcs = ["__init__.py"],
10-
strict_deps = True,
10+
strict_deps = False,
1111
deps = [
1212
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/core",
1313
"//tensorflow_model_optimization/python/core/internal/tensor_encoding/encoders",

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ licenses(["notice"])
1010
py_library(
1111
name = "core",
1212
srcs = ["__init__.py"],
13-
strict_deps = True,
13+
strict_deps = False,
1414
visibility = ["//visibility:public"],
1515
deps = [
1616
":core_encoder",
@@ -23,7 +23,7 @@ py_library(
2323
py_library(
2424
name = "core_encoder",
2525
srcs = ["core_encoder.py"],
26-
strict_deps = True,
26+
strict_deps = False,
2727
deps = [
2828
":encoding_stage",
2929
# six dep1,
@@ -49,7 +49,7 @@ py_strict_test(
4949
py_library(
5050
name = "encoding_stage",
5151
srcs = ["encoding_stage.py"],
52-
strict_deps = True,
52+
strict_deps = False,
5353
deps = [
5454
# six dep1,
5555
# tensorflow dep1,
@@ -74,7 +74,7 @@ py_strict_test(
7474
py_library(
7575
name = "gather_encoder",
7676
srcs = ["gather_encoder.py"],
77-
strict_deps = True,
77+
strict_deps = False,
7878
deps = [
7979
":core_encoder",
8080
# tensorflow dep1,
@@ -102,7 +102,7 @@ py_strict_test(
102102
py_library(
103103
name = "simple_encoder",
104104
srcs = ["simple_encoder.py"],
105-
strict_deps = True,
105+
strict_deps = False,
106106
deps = [
107107
":core_encoder",
108108
# tensorflow dep1,

0 commit comments

Comments
 (0)