Skip to content

Commit 9ff013e

Browse files
test
PiperOrigin-RevId: 625513414
1 parent 73851a0 commit 9ff013e

File tree

2 files changed

+11
-11
lines changed
  • tensorflow_model_optimization/python/core/common/keras/compression

2 files changed

+11
-11
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_library", "py_strict_test", "pytype_strict_library")
1+
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "pytype_strict_library", "pytype_strict_test")
22

33
licenses(["notice"])
44

@@ -14,7 +14,7 @@ pytype_strict_library(
1414
],
1515
)
1616

17-
py_strict_library(
17+
pytype_strict_library(
1818
name = "schedules",
1919
srcs = ["schedules.py"],
2020
srcs_version = "PY3ONLY",
@@ -23,7 +23,7 @@ py_strict_library(
2323
],
2424
)
2525

26-
py_strict_test(
26+
pytype_strict_test(
2727
name = "schedules_test",
2828
srcs = [
2929
"schedules_test.py",

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_library", "py_strict_test", "pytype_strict_library")
1+
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "pytype_strict_library", "pytype_strict_test")
22

33
package(default_visibility = ["//visibility:private"])
44

@@ -16,7 +16,7 @@ pytype_strict_library(
1616
],
1717
)
1818

19-
py_strict_test(
19+
pytype_strict_test(
2020
name = "epr_test",
2121
timeout = "long",
2222
srcs = ["epr_test.py"],
@@ -46,7 +46,7 @@ pytype_strict_library(
4646
],
4747
)
4848

49-
py_strict_test(
49+
pytype_strict_test(
5050
name = "same_training_and_inference_test",
5151
timeout = "long",
5252
srcs = ["same_training_and_inference_test.py"],
@@ -72,7 +72,7 @@ pytype_strict_library(
7272
],
7373
)
7474

75-
py_strict_test(
75+
pytype_strict_test(
7676
name = "different_training_and_inference_test",
7777
timeout = "long",
7878
srcs = ["different_training_and_inference_test.py"],
@@ -98,7 +98,7 @@ pytype_strict_library(
9898
],
9999
)
100100

101-
py_strict_test(
101+
pytype_strict_test(
102102
name = "bias_only_test",
103103
timeout = "long",
104104
srcs = ["bias_only_test.py"],
@@ -113,7 +113,7 @@ py_strict_test(
113113
],
114114
)
115115

116-
py_strict_library(
116+
pytype_strict_library(
117117
name = "weight_clustering",
118118
srcs = ["weight_clustering.py"],
119119
srcs_version = "PY3",
@@ -127,7 +127,7 @@ py_strict_library(
127127
],
128128
)
129129

130-
py_strict_test(
130+
pytype_strict_test(
131131
name = "weight_clustering_test",
132132
srcs = ["weight_clustering_test.py"],
133133
python_version = "PY3",
@@ -152,7 +152,7 @@ pytype_strict_library(
152152
],
153153
)
154154

155-
py_strict_test(
155+
pytype_strict_test(
156156
name = "periodical_update_and_scheduling_test",
157157
timeout = "long",
158158
srcs = ["periodical_update_and_scheduling_test.py"],

0 commit comments

Comments
 (0)