Skip to content
Merged
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
22 changes: 0 additions & 22 deletions tf_keras/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ py_library(
srcs = [
"__init__.py",
],
srcs_version = "PY3",
deps = [
":backend",
":engine",
Expand Down Expand Up @@ -69,7 +68,6 @@ py_library(
py_library(
name = "backend",
srcs = ["backend.py"],
srcs_version = "PY3",
deps = [
":backend_config",
"//:expect_numpy_installed",
Expand All @@ -86,7 +84,6 @@ py_library(
py_library(
name = "backend_config",
srcs = ["backend_config.py"],
srcs_version = "PY3",
deps = [
"//:expect_tensorflow_installed",
],
Expand All @@ -99,7 +96,6 @@ py_library(
"//tf_keras/metrics",
"//tf_keras/models",
],
srcs_version = "PY3",
deps = [
"//tf_keras/engine",
],
Expand All @@ -110,7 +106,6 @@ py_library(
srcs = [
"activations.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//tf_keras/layers/activation",
Expand All @@ -122,7 +117,6 @@ py_library(
py_library(
name = "base_layer",
srcs = [],
srcs_version = "PY3",
deps = [
"//tf_keras/engine:base_layer",
],
Expand All @@ -133,7 +127,6 @@ py_library(
srcs = [
"callbacks.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//:expect_tensorboard_installed",
Expand All @@ -152,7 +145,6 @@ py_library(
srcs = [
"callbacks_v1.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//:expect_tensorboard_installed",
Expand All @@ -166,7 +158,6 @@ py_library(
srcs = [
"constraints.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//tf_keras/utils:engine_utils",
Expand All @@ -178,7 +169,6 @@ py_library(
srcs = [
"losses.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//:expect_tensorflow_installed",
Expand All @@ -194,7 +184,6 @@ py_library(
srcs = [
"regularizers.py",
],
srcs_version = "PY3",
deps = [
":backend",
"//tf_keras/utils:engine_utils",
Expand All @@ -207,7 +196,6 @@ py_library(
# py_library(
# name = "url_utils",
# srcs = ["google/url_utils.py"],
# srcs_version = "PY3",
# deps = ["//pyglib/contrib/google_ssl"],
# )
# copybara:uncomment_end
Expand All @@ -230,7 +218,6 @@ tf_py_test(
name = "activations_test",
size = "small",
srcs = ["activations_test.py"],
python_version = "PY3",
deps = [
":activations",
":backend",
Expand All @@ -249,7 +236,6 @@ tf_py_test(
name = "constraints_test",
size = "small",
srcs = ["constraints_test.py"],
python_version = "PY3",
deps = [
":backend",
":constraints",
Expand All @@ -263,7 +249,6 @@ tf_py_test(
name = "regularizers_test",
size = "medium",
srcs = ["regularizers_test.py"],
python_version = "PY3",
deps = [
":tf_keras",
"//:expect_absl_installed", # absl/testing:parameterized
Expand All @@ -276,7 +261,6 @@ tf_py_test(
name = "losses_test",
size = "small",
srcs = ["losses_test.py"],
python_version = "PY3",
shard_count = 4,
tags = [
"noasan", # b/186128525
Expand All @@ -295,7 +279,6 @@ tf_py_test(
name = "callbacks_test",
size = "medium",
srcs = ["callbacks_test.py"],
python_version = "PY3",
shard_count = 6,
tags = [
"no_pip", # TODO(b/276923757)
Expand All @@ -315,7 +298,6 @@ tf_py_test(
name = "callbacks_v1_test",
size = "medium",
srcs = ["callbacks_v1_test.py"],
python_version = "PY3",
tags = [
"nomac", # Using profiler causes segfault in MacOS runs.
"notsan",
Expand All @@ -338,7 +320,6 @@ tf_py_test(
name = "backend_test",
size = "medium",
srcs = ["backend_test.py"],
python_version = "PY3",
shard_count = 4,
deps = [
":backend",
Expand All @@ -355,7 +336,6 @@ tf_py_test(
name = "backend_config_test",
size = "medium",
srcs = ["backend_config_test.py"],
python_version = "PY3",
deps = [
":backend",
":backend_config",
Expand All @@ -368,7 +348,6 @@ tf_py_test(
# tf_py_test(
# name = "url_utils_test",
# srcs = ["google/url_utils_test.py"],
# python_version = "PY3",
# deps = [
# ":url_utils",
# "//:expect_tensorflow_installed",
Expand All @@ -379,7 +358,6 @@ tf_py_test(
# tf_py_test(
# name = "distribute_utils_test",
# srcs = ["google/distribute_utils_test.py"],
# python_version = "PY3",
# deps = [
# ":distribute_utils",
# "//:expect_tensorflow_installed",
Expand Down
1 change: 0 additions & 1 deletion tf_keras/api/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ py_library(
":tf_keras_python_api_gen_compat_v1",
":tf_keras_python_api_gen_compat_v2",
],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//:expect_tensorflow_installed",
Expand Down
2 changes: 0 additions & 2 deletions tf_keras/api/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ tf_py_test(
"//tf_keras/api/tests:API_UPDATE_WARNING.txt",
"//tf_keras/api/tests:README.txt",
],
python_version = "PY3",
srcs_version = "PY3",
tags = [
"no_oss", # TODO(scottzhu): Fix this in OSS test.
"no_pip",
Expand Down
1 change: 0 additions & 1 deletion tf_keras/applications/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ py_library(
"vgg19.py",
"xception.py",
],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//:expect_numpy_installed",
Expand Down
11 changes: 0 additions & 11 deletions tf_keras/benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ package(
# Add all benchmarks related utils here for pip testing dependencies.
py_library(
name = "keras_benchmark_lib_pip",
srcs_version = "PY3",
deps = [
":benchmark_util",
":distribution_util",
Expand All @@ -39,7 +38,6 @@ py_library(
# This lib is mainly for running benchmarks on mlcompass infra.
py_library(
name = "profiler_lib",
srcs_version = "PY3",
visibility = [
"//learning/brain/contrib/keras_benchmark:__subpackages__",
"//tf_keras:friends",
Expand All @@ -55,7 +53,6 @@ py_test(
name = "keras_cpu_benchmark_test",
size = "large",
srcs = ["keras_cpu_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
":benchmark_util",
Expand All @@ -70,7 +67,6 @@ cuda_py_test(
name = "eager_microbenchmarks_test",
size = "medium",
srcs = ["eager_microbenchmarks_test.py"],
python_version = "PY3",
tags = COMMON_TAGS + [
"no_oss_py38", # TODO(b/162044699)
],
Expand All @@ -85,7 +81,6 @@ cuda_py_test(
cuda_py_test(
name = "model_components_benchmarks_test",
srcs = ["model_components_benchmarks_test.py"],
python_version = "PY3",
deps = [
":profiler_lib",
"//:expect_tensorflow_installed",
Expand All @@ -96,7 +91,6 @@ cuda_py_test(
py_library(
name = "benchmark_util",
srcs = ["benchmark_util.py"],
srcs_version = "PY3",
deps = [
":distribution_util",
"//:expect_numpy_installed",
Expand All @@ -108,7 +102,6 @@ py_library(
py_test(
name = "benchmark_util_test",
srcs = ["benchmark_util_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
":benchmark_util",
Expand All @@ -120,7 +113,6 @@ py_test(
py_library(
name = "distribution_util",
srcs = ["distribution_util.py"],
srcs_version = "PY3",
deps = [
"//:expect_tensorflow_installed",
],
Expand All @@ -129,7 +121,6 @@ py_library(
py_test(
name = "optimizer_benchmarks_test",
srcs = ["optimizer_benchmarks_test.py"],
python_version = "PY3",
tags = COMMON_TAGS + [
"no_oss_py38", # TODO(b/162044699)
],
Expand All @@ -152,15 +143,13 @@ py_test(
py_binary(
name = "model_memory_profile",
srcs = ["model_memory_profile.py"],
python_version = "PY3",
tags = ["no_oss"],
deps = ["//:expect_tensorflow_installed"],
)

py_test(
name = "metrics_memory_benchmark_test",
srcs = ["metrics_memory_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_numpy_installed",
Expand Down
9 changes: 0 additions & 9 deletions tf_keras/benchmarks/keras_examples_benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ COMMON_TAGS = [
cuda_py_test(
name = "bidirectional_lstm_benchmark_test",
srcs = ["bidirectional_lstm_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -43,7 +42,6 @@ cuda_py_test(
cuda_py_test(
name = "text_classification_transformer_benchmark_test",
srcs = ["text_classification_transformer_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -56,7 +54,6 @@ cuda_py_test(
cuda_py_test(
name = "antirectifier_benchmark_test",
srcs = ["antirectifier_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -69,7 +66,6 @@ cuda_py_test(
cuda_py_test(
name = "mnist_conv_benchmark_test",
srcs = ["mnist_conv_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_numpy_installed",
Expand All @@ -83,7 +79,6 @@ cuda_py_test(
cuda_py_test(
name = "mnist_hierarchical_rnn_benchmark_test",
srcs = ["mnist_hierarchical_rnn_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -96,7 +91,6 @@ cuda_py_test(
cuda_py_test(
name = "mnist_irnn_benchmark_test",
srcs = ["mnist_irnn_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -109,7 +103,6 @@ cuda_py_test(
cuda_py_test(
name = "reuters_mlp_benchmark_test",
srcs = ["reuters_mlp_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_numpy_installed",
Expand All @@ -123,7 +116,6 @@ cuda_py_test(
cuda_py_test(
name = "cifar10_cnn_benchmark_test",
srcs = ["cifar10_cnn_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand All @@ -136,7 +128,6 @@ cuda_py_test(
cuda_py_test(
name = "mnist_conv_custom_training_benchmark_test",
srcs = ["mnist_conv_custom_training_benchmark_test.py"],
python_version = "PY3",
tags = COMMON_TAGS,
deps = [
"//:expect_tensorflow_installed",
Expand Down
3 changes: 0 additions & 3 deletions tf_keras/benchmarks/layer_benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ BECHMARK_TAGS = [
py_library(
name = "run_xprof",
srcs = ["run_xprof.py"],
srcs_version = "PY3",
visibility = ["//visibility:private"],
)

py_library(
name = "layer_benchmarks_test_base",
srcs = ["layer_benchmarks_test_base.py"],
srcs_version = "PY3",
visibility = ["//visibility:private"],
deps = [
":run_xprof",
Expand All @@ -55,7 +53,6 @@ py_library(
tf_py_test(
name = "layer_benchmarks_test",
srcs = ["layer_benchmarks_test.py"],
python_version = "PY3",
tags = BECHMARK_TAGS,
deps = [
":layer_benchmarks_test_base",
Expand Down
1 change: 0 additions & 1 deletion tf_keras/benchmarks/saved_model_benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ package(
py_library(
name = "saved_model_benchmark_util",
srcs = ["saved_model_benchmark_util.py"],
srcs_version = "PY3",
deps = [
"//:expect_tensorflow_installed",
"//tf_keras/benchmarks:profiler_lib",
Expand Down
1 change: 0 additions & 1 deletion tf_keras/datasets/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ py_library(
"mnist.py",
"reuters.py",
],
srcs_version = "PY3",
visibility = ["//visibility:public"],
deps = [
"//:expect_numpy_installed",
Expand Down
Loading
Loading