Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":default_8bit_cluster_preserve_quantize_scheme", # buildcleaner: keep
],
Expand All @@ -23,7 +23,7 @@ py_library(
srcs = [
"cluster_utils.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -35,7 +35,7 @@ py_library(
srcs = [
"cluster_preserve_quantize_registry.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":cluster_utils",
# tensorflow dep1,
Expand All @@ -54,6 +54,7 @@ py_test(
srcs = [
"cluster_preserve_quantize_registry_test.py",
],
strict_deps = False,
visibility = ["//visibility:private"],
deps = [
":cluster_preserve_quantize_registry",
Expand All @@ -72,6 +73,7 @@ py_test(
srcs = [
"mnist_prune_cluster_preserve_qat_test.py",
],
strict_deps = False,
tags = ["requires-net:external"],
visibility = ["//visibility:private"],
deps = [
Expand All @@ -91,7 +93,7 @@ py_library(
srcs = [
"default_8bit_cluster_preserve_quantize_scheme.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":cluster_preserve_quantize_registry",
"//tensorflow_model_optimization/python/core/quantization/keras/default_8bit:default_8bit_quantize_scheme",
Expand All @@ -103,6 +105,7 @@ py_test(
srcs = [
"cluster_preserve_integration_test.py",
],
strict_deps = False,
visibility = ["//visibility:private"],
deps = [
":default_8bit_cluster_preserve_quantize_scheme",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":default_8bit_prune_preserve_quantize_scheme", # buildcleaner: keep
],
Expand All @@ -23,7 +23,7 @@ py_library(
srcs = [
"prune_preserve_quantize_registry.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -39,6 +39,7 @@ py_test(
srcs = [
"prune_preserve_quantize_registry_test.py",
],
strict_deps = False,
visibility = ["//visibility:private"],
deps = [
":prune_preserve_quantize_registry",
Expand All @@ -56,7 +57,7 @@ py_library(
srcs = [
"default_8bit_prune_preserve_quantize_scheme.py",
],
strict_deps = True,
strict_deps = False,
visibility = ["//visibility:public"],
deps = [
":prune_preserve_quantize_registry",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [],
)

Expand All @@ -22,7 +22,7 @@ py_library(
srcs = [
"default_8bit_quantizers.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -36,6 +36,7 @@ py_test(
srcs = [
"default_8bit_quantizers_test.py",
],
strict_deps = False,
deps = [
":default_8bit_quantizers",
# absl/testing:parameterized dep1,
Expand All @@ -50,7 +51,7 @@ py_library(
srcs = [
"default_8bit_quantize_configs.py",
],
strict_deps = True,
strict_deps = False,
deps = [
"//tensorflow_model_optimization/python/core/quantization/keras:quantize_config",
"//tensorflow_model_optimization/python/core/quantization/keras:quantizers",
Expand All @@ -62,7 +63,7 @@ py_library(
srcs = [
"default_8bit_quantize_registry.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -80,6 +81,7 @@ py_test(
srcs = [
"default_8bit_quantize_registry_test.py",
],
strict_deps = False,
deps = [
":default_8bit_quantize_registry",
# absl/testing:parameterized dep1,
Expand All @@ -97,6 +99,7 @@ py_library(
srcs = [
"default_8bit_transforms.py",
],
strict_deps = False,
deps = [
# numpy dep1,
# tensorflow dep1,
Expand Down Expand Up @@ -139,7 +142,7 @@ py_library(
srcs = [
"default_8bit_quantize_layout_transform.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":default_8bit_transforms",
# tensorflow dep1,
Expand All @@ -154,6 +157,7 @@ py_test(
name = "quantize_numerical_test",
size = "large",
srcs = ["quantize_numerical_test.py"],
strict_deps = False,
deps = [
# absl/testing:parameterized dep1,
# google/protobuf:use_fast_cpp_protos dep1, # Automatically added
Expand All @@ -170,7 +174,7 @@ py_library(
srcs = [
"default_8bit_quantize_scheme.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":default_8bit_quantize_layout_transform",
":default_8bit_quantize_registry",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":quantization", # buildcleaner: keep
],
Expand All @@ -20,7 +20,7 @@ py_library(
py_library(
name = "quantization",
srcs = ["__init__.py"],
strict_deps = True,
strict_deps = False,
deps = [
"//tensorflow_model_optimization/python/core/quantization/keras", # buildcleaner: keep
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [],
)

Expand All @@ -20,7 +20,7 @@ py_library(
srcs = [
"default_n_bit_quantizers.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -33,6 +33,7 @@ py_test(
srcs = [
"default_n_bit_quantizers_test.py",
],
strict_deps = False,
deps = [
":default_n_bit_quantizers",
# absl/testing:parameterized dep1,
Expand All @@ -47,7 +48,7 @@ py_library(
srcs = [
"default_n_bit_quantize_configs.py",
],
strict_deps = True,
strict_deps = False,
deps = [
"//tensorflow_model_optimization/python/core/quantization/keras:quantize_config",
"//tensorflow_model_optimization/python/core/quantization/keras:quantizers",
Expand All @@ -59,7 +60,7 @@ py_library(
srcs = [
"default_n_bit_quantize_registry.py",
],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -76,6 +77,7 @@ py_test(
srcs = [
"default_n_bit_quantize_registry_test.py",
],
strict_deps = False,
deps = [
":default_n_bit_quantize_registry",
# absl/testing:parameterized dep1,
Expand All @@ -92,6 +94,7 @@ py_library(
srcs = [
"default_n_bit_transforms.py",
],
strict_deps = False,
visibility = ["//visibility:public"],
deps = [
# numpy dep1,
Expand All @@ -111,7 +114,7 @@ py_library(
srcs = [
"default_n_bit_quantize_layout_transform.py",
],
strict_deps = True,
strict_deps = False,
deps = [
":default_n_bit_transforms",
# tensorflow dep1,
Expand Down Expand Up @@ -149,7 +152,7 @@ py_library(
srcs = [
"default_n_bit_quantize_scheme.py",
],
strict_deps = True,
strict_deps = False,
visibility = ["//visibility:public"],
deps = [
":default_n_bit_quantize_layout_transform",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [],
)

Expand All @@ -21,7 +21,7 @@ py_library(
srcs = [
"transforms.py",
],
strict_deps = True,
strict_deps = False,
visibility = ["//visibility:public"],
deps = [
# six dep1,
Expand All @@ -46,7 +46,7 @@ py_library(
srcs = [
"model_transformer.py",
],
strict_deps = True,
strict_deps = False,
visibility = ["//visibility:public"],
deps = [
":transforms",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ py_library(
srcs = [
"__init__.py",
],
strict_deps = True,
strict_deps = False,
deps = [],
)

py_library(
name = "conv_batchnorm_test_utils",
srcs = ["conv_batchnorm_test_utils.py"],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand All @@ -28,7 +28,7 @@ py_library(
py_library(
name = "dense_batchnorm_test_utils",
srcs = ["dense_batchnorm_test_utils.py"],
strict_deps = True,
strict_deps = False,
deps = [
# tensorflow dep1,
"//tensorflow_model_optimization/python/core/keras:compat",
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_model_optimization/python/core/sparsity/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ licenses(["notice"])
py_library(
name = "sparsity",
srcs = ["__init__.py"],
strict_deps = True,
strict_deps = False,
deps = [
"//tensorflow_model_optimization/python/core/sparsity/keras", # buildcleaner: keep
],
Expand Down
Loading
Loading