File tree Expand file tree Collapse file tree
tensorflow_model_optimization
cluster_preserve_qat/keras
quantization_with_sparsity/keras Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1313package (
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 = [
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
44 default_applicable_licenses = ["//tensorflow_model_optimization:license" ],
55)
66
77licenses (["notice" ])
88
9- py_strict_binary (
9+ py_binary (
1010 name = "mnist_cnn" ,
1111 srcs = [
1212 "mnist_cnn.py" ,
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
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" ,
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
44 default_applicable_licenses = ["//tensorflow_model_optimization:license" ],
55)
66
77licenses (["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" ,
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
44 default_applicable_licenses = ["//tensorflow_model_optimization:license" ],
55)
66
77licenses (["notice" ])
88
9- py_strict_binary (
9+ py_binary (
1010 name = "mnist_cnn" ,
1111 srcs = [
1212 "mnist_cnn.py" ,
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
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" ,
Original file line number Diff line number Diff line change 1- load ( "//tensorflow_model_optimization:tensorflow_model_optimization.bzl" , "py_strict_binary" )
1+ # Placeholder: load py_binary
22
33package (
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 = [
You can’t perform that action at this time.
0 commit comments