Skip to content

Commit 97811c3

Browse files
h-jootensorflower-gardener
authored andcommitted
Internal change
PiperOrigin-RevId: 925895207
1 parent d509ed5 commit 97811c3

7 files changed

Lines changed: 20 additions & 20 deletions

File tree

  • tensorflow_model_optimization

tensorflow_model_optimization/BUILD

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Placeholder: load py_library
2-
load("@rules_license//rules:license.bzl", "license")
3-
41
# Description:
52
#
63
# TensorFlow Optimization is a repository for the training-time
74
# portion of the Tensorflow Model Optimization Toolkit,
85
# used to optimize machine learning models for deployment and execution.
96
#
107
# https://github.com/tensorflow/model-optimization
11-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
8+
9+
# Placeholder: load py_binary
10+
# Placeholder: load py_library
11+
load("@rules_license//rules:license.bzl", "license")
1212

1313
package(
1414
default_applicable_licenses = [":license"],
@@ -36,7 +36,7 @@ py_library(
3636
],
3737
)
3838

39-
py_strict_binary(
39+
py_binary(
4040
name = "build_docs",
4141
srcs = ["build_docs.py"],
4242
deps = [

tensorflow_model_optimization/python/examples/cluster_preserve_qat/keras/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
55
)
66

77
licenses(["notice"])
88

9-
py_strict_binary(
9+
py_binary(
1010
name = "mnist_cnn",
1111
srcs = [
1212
"mnist_cnn.py",

tensorflow_model_optimization/python/examples/clustering/keras/mnist/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
@@ -12,7 +12,7 @@ filegroup(
1212
srcs = glob(["**"]),
1313
)
1414

15-
py_strict_binary(
15+
py_binary(
1616
name = "mnist_cnn",
1717
srcs = [
1818
"mnist_cnn.py",

tensorflow_model_optimization/python/examples/quantization/keras/BUILD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
55
)
66

77
licenses(["notice"])
88

9-
py_strict_binary(
9+
py_binary(
1010
name = "mnist_cnn",
1111
srcs = [
1212
"mnist_cnn.py",
@@ -19,7 +19,7 @@ py_strict_binary(
1919
],
2020
)
2121

22-
py_strict_binary(
22+
py_binary(
2323
name = "mnist_cnn_cont_quant",
2424
srcs = [
2525
"mnist_cnn_cont_quant.py",

tensorflow_model_optimization/python/examples/quantization_with_sparsity/keras/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
55
)
66

77
licenses(["notice"])
88

9-
py_strict_binary(
9+
py_binary(
1010
name = "mnist_cnn",
1111
srcs = [
1212
"mnist_cnn.py",

tensorflow_model_optimization/python/examples/sparsity/keras/imdb/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
@@ -12,7 +12,7 @@ filegroup(
1212
srcs = glob(["**"]),
1313
)
1414

15-
py_strict_binary(
15+
py_binary(
1616
name = "imdb_lstm",
1717
srcs = [
1818
"imdb_lstm.py",

tensorflow_model_optimization/python/examples/sparsity/keras/mnist/BUILD

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("//tensorflow_model_optimization:tensorflow_model_optimization.bzl", "py_strict_binary")
1+
# Placeholder: load py_binary
22

33
package(
44
default_applicable_licenses = ["//tensorflow_model_optimization:license"],
@@ -12,7 +12,7 @@ filegroup(
1212
srcs = glob(["**"]),
1313
)
1414

15-
py_strict_binary(
15+
py_binary(
1616
name = "mnist_cnn",
1717
srcs = [
1818
"mnist_cnn.py",
@@ -29,7 +29,7 @@ py_strict_binary(
2929
],
3030
)
3131

32-
py_strict_binary(
32+
py_binary(
3333
name = "mnist_e2e",
3434
srcs = [
3535
"mnist_e2e.py",
@@ -47,7 +47,7 @@ py_strict_binary(
4747
],
4848
)
4949

50-
py_strict_binary(
50+
py_binary(
5151
name = "mnist_e2e_sparsity2x4",
5252
srcs = ["mnist_e2e_sparsity2x4.py"],
5353
deps = [

0 commit comments

Comments
 (0)