mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
BUILD cleanup in selected packages in contrib/...
PiperOrigin-RevId: 174115744
This commit is contained in:
committed by
TensorFlower Gardener
parent
4aa90bfd39
commit
ab4349a26c
@@ -55,6 +55,7 @@ py_library(
|
||||
"//tensorflow/python:logging_ops",
|
||||
"//tensorflow/python:lookup_ops",
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python:metrics",
|
||||
"//tensorflow/python:nn",
|
||||
"//tensorflow/python:parsing_ops",
|
||||
"//tensorflow/python:partitioned_variables",
|
||||
@@ -76,6 +77,7 @@ py_library(
|
||||
"//tensorflow/python:weights_broadcast_ops",
|
||||
"//tensorflow/python/estimator",
|
||||
"//tensorflow/python/estimator:estimator_py",
|
||||
"//tensorflow/python/estimator:export_export",
|
||||
"//tensorflow/python/estimator:export_output",
|
||||
"//tensorflow/python/estimator:inputs",
|
||||
"//tensorflow/python/estimator:inputs_queues",
|
||||
@@ -85,6 +87,7 @@ py_library(
|
||||
"//tensorflow/python/estimator:run_config",
|
||||
"//tensorflow/python/feature_column",
|
||||
"//tensorflow/python/feature_column:feature_column_py",
|
||||
"//tensorflow/python/ops/losses",
|
||||
"//tensorflow/python/saved_model:builder",
|
||||
"//tensorflow/python/saved_model:loader",
|
||||
"//tensorflow/python/saved_model:signature_constants",
|
||||
@@ -131,6 +134,7 @@ py_test(
|
||||
"//tensorflow/contrib/learn/python/learn/datasets",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:string_ops",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python:variables",
|
||||
"//third_party/py/numpy",
|
||||
@@ -155,10 +159,11 @@ py_test(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":learn",
|
||||
"//tensorflow/contrib/layers:layers_py",
|
||||
"//tensorflow/core:protos_all_py",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python:util",
|
||||
"//tensorflow/python:variables",
|
||||
@@ -198,6 +203,7 @@ py_test(
|
||||
"//tensorflow/contrib/training:training_py",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python/estimator:run_config",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -216,6 +222,7 @@ py_test(
|
||||
"//tensorflow/python:framework_test_lib",
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:state_ops",
|
||||
"//tensorflow/python:summary",
|
||||
"//tensorflow/python:training",
|
||||
@@ -278,6 +285,8 @@ py_test(
|
||||
"//tensorflow/python:parsing_ops",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:protos_all_py",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:summary",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python:util",
|
||||
"//tensorflow/python:variables",
|
||||
@@ -319,12 +328,12 @@ py_test(
|
||||
"//tensorflow/contrib/framework:framework_py",
|
||||
"//tensorflow/contrib/layers:layers_py",
|
||||
"//tensorflow/contrib/learn/python/learn/datasets",
|
||||
"//tensorflow/contrib/losses:losses_py",
|
||||
"//tensorflow/python:array_ops",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:init_ops",
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python/ops/losses",
|
||||
"//third_party/py/numpy",
|
||||
],
|
||||
)
|
||||
@@ -363,10 +372,10 @@ py_test(
|
||||
deps = [
|
||||
":learn",
|
||||
"//tensorflow/core:protos_all_py",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:lookup_ops",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:sparse_tensor",
|
||||
"//tensorflow/python:variables",
|
||||
"//tensorflow/python/ops/losses",
|
||||
@@ -430,7 +439,6 @@ py_test(
|
||||
"//tensorflow/contrib/layers:layers_py",
|
||||
"//tensorflow/contrib/rnn:rnn_py",
|
||||
"//tensorflow/python:array_ops",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:functional_ops",
|
||||
@@ -439,6 +447,7 @@ py_test(
|
||||
"//tensorflow/python:random_ops",
|
||||
"//tensorflow/python:random_seed",
|
||||
"//tensorflow/python:rnn_cell",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:sparse_tensor",
|
||||
"//tensorflow/python:variables",
|
||||
"//third_party/py/numpy",
|
||||
@@ -575,10 +584,10 @@ py_test(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":learn",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:constant_op",
|
||||
"//tensorflow/python:control_flow_ops",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python/estimator:export_output",
|
||||
"//tensorflow/python/saved_model:signature_constants",
|
||||
@@ -631,9 +640,9 @@ py_test(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":learn",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:session",
|
||||
"//third_party/py/numpy",
|
||||
],
|
||||
)
|
||||
@@ -721,6 +730,7 @@ py_test(
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python:parsing_ops",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python:variables",
|
||||
],
|
||||
@@ -770,11 +780,12 @@ py_test(
|
||||
"//tensorflow/contrib/session_bundle:exporter",
|
||||
"//tensorflow/contrib/session_bundle:manifest_proto_py_pb2",
|
||||
"//tensorflow/python:array_ops",
|
||||
"//tensorflow/python:client",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:errors",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:random_ops",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:training",
|
||||
"//third_party/py/numpy",
|
||||
"@six_archive//:six",
|
||||
@@ -822,12 +833,9 @@ py_test(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":learn",
|
||||
"//tensorflow/contrib/layers:layers_py",
|
||||
"//tensorflow/core:protos_all_py",
|
||||
"//tensorflow/python:array_ops",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:util",
|
||||
"//tensorflow/python:dtypes",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -855,7 +863,6 @@ py_binary(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
"//tensorflow/contrib/framework:framework_py",
|
||||
"//tensorflow/python", # TODO(b/34059704): remove when fixed
|
||||
"//tensorflow/python:platform",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -32,13 +32,16 @@ cc_library(
|
||||
|
||||
py_library(
|
||||
name = "tpu_test_util",
|
||||
srcs = [
|
||||
"python/tpu/test_util.py",
|
||||
],
|
||||
srcs = ["python/tpu/test_util.py"],
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":tpu_lib",
|
||||
":tpu_py",
|
||||
"//tensorflow/python:errors",
|
||||
"//tensorflow/python:framework_ops",
|
||||
"//tensorflow/python:framework_test_lib",
|
||||
"//tensorflow/python:session",
|
||||
"//tensorflow/python:variables",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -53,17 +56,23 @@ py_library(
|
||||
deps = [
|
||||
":tpu_lib",
|
||||
":tpu_py",
|
||||
"//tensorflow/core:protos_all_py",
|
||||
"//tensorflow/python:array_ops",
|
||||
"//tensorflow/python:control_flow_ops",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:init_ops",
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:state_ops",
|
||||
"//tensorflow/python:summary",
|
||||
"//tensorflow/python:training",
|
||||
"//tensorflow/python:variable_scope",
|
||||
"//tensorflow/python:variables",
|
||||
"//tensorflow/python/estimator",
|
||||
"//tensorflow/python/estimator:model_fn",
|
||||
"//tensorflow/python/estimator:run_config",
|
||||
"//tensorflow/python/estimator:util",
|
||||
"@six_archive//:six",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -108,6 +117,7 @@ py_library(
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
"//tensorflow/contrib/tpu/profiler:trace_events_proto_py",
|
||||
"//tensorflow/python:util",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -124,21 +134,15 @@ tf_custom_op_py_library(
|
||||
":tpu_ops",
|
||||
"//tensorflow/contrib/util:util_py",
|
||||
"//tensorflow/python:client_testlib",
|
||||
"//tensorflow/python:errors",
|
||||
"//tensorflow/python:framework_for_generated_wrappers",
|
||||
"//tensorflow/python:math_ops",
|
||||
"//tensorflow/python:platform",
|
||||
"//tensorflow/python:state_ops",
|
||||
"//tensorflow/python:variable_scope",
|
||||
"//tensorflow/python:variables",
|
||||
"//tensorflow/python:util",
|
||||
],
|
||||
)
|
||||
|
||||
py_library(
|
||||
name = "tpu",
|
||||
srcs = [
|
||||
"python/tpu/__init__.py",
|
||||
],
|
||||
srcs = ["python/tpu/__init__.py"],
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":tpu_estimator",
|
||||
@@ -211,7 +215,9 @@ tf_py_test(
|
||||
filegroup(
|
||||
name = "all_files",
|
||||
srcs = glob(
|
||||
["**/*"],
|
||||
include = [
|
||||
"**/*",
|
||||
],
|
||||
exclude = [
|
||||
"**/METADATA",
|
||||
"**/OWNERS",
|
||||
|
||||
Reference in New Issue
Block a user