diff options
author | 2017-06-21 03:01:21 -0700 | |
---|---|---|
committer | 2017-06-21 03:04:38 -0700 | |
commit | 50d1c07a42c60c25c409449136359c9ff8262944 (patch) | |
tree | 50156419c7858f03c57842f4cacbe5d31411936c /tensorflow/contrib/slim | |
parent | c936bedaa07fdf3720a19c8cae6d6edc4e7db256 (diff) |
Selected BUILD cleanup in tensorflow/contrib/...
PiperOrigin-RevId: 159673079
Diffstat (limited to 'tensorflow/contrib/slim')
-rw-r--r-- | tensorflow/contrib/slim/BUILD | 21 | ||||
-rw-r--r-- | tensorflow/contrib/slim/python/slim/data/BUILD | 18 | ||||
-rw-r--r-- | tensorflow/contrib/slim/python/slim/nets/BUILD | 6 |
3 files changed, 12 insertions, 33 deletions
diff --git a/tensorflow/contrib/slim/BUILD b/tensorflow/contrib/slim/BUILD index 427c25e07c..2d48a91f9f 100644 --- a/tensorflow/contrib/slim/BUILD +++ b/tensorflow/contrib/slim/BUILD @@ -15,9 +15,6 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/contrib/training:training_py", - "//tensorflow/python:framework", - "//tensorflow/python:ops", - "//tensorflow/python:platform", "//tensorflow/python:summary", "//tensorflow/python:training", ], @@ -38,10 +35,8 @@ py_test( "//tensorflow/python:control_flow_ops", "//tensorflow/python:errors", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", "//tensorflow/python:platform", - "//tensorflow/python:platform_test", "//tensorflow/python:summary", "//tensorflow/python:training", "//tensorflow/python:variables", @@ -56,17 +51,15 @@ py_library( deps = [ "//tensorflow/contrib/framework:framework_py", "//tensorflow/contrib/training:training_py", - "//tensorflow/python:array_ops", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client", "//tensorflow/python:clip_ops", "//tensorflow/python:control_flow_ops", - "//tensorflow/python:data_flow_ops", "//tensorflow/python:errors", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:lib", + "//tensorflow/python:lookup_ops", "//tensorflow/python:math_ops", - "//tensorflow/python:ops", "//tensorflow/python:platform", "//tensorflow/python:summary", "//tensorflow/python:training", @@ -88,11 +81,9 @@ py_test( "//tensorflow/python:array_ops", "//tensorflow/python:client", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", - "//tensorflow/python:platform_test", + "//tensorflow/python:random_seed", "//tensorflow/python:summary", "//tensorflow/python:training", "//tensorflow/python:variables", @@ -128,7 +119,6 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:ops", "//tensorflow/python:training", ], ) @@ -150,7 +140,6 @@ py_library( "//tensorflow/contrib/layers:layers_py", "//tensorflow/contrib/losses:losses_py", "//tensorflow/contrib/metrics:metrics_py", - "//tensorflow/contrib/slim/python/slim/data", "//tensorflow/contrib/slim/python/slim/data:data_decoder", "//tensorflow/contrib/slim/python/slim/data:data_provider", "//tensorflow/contrib/slim/python/slim/data:dataset", @@ -167,7 +156,7 @@ py_library( srcs = ["python/slim/summaries.py"], srcs_version = "PY2AND3", deps = [ - "//tensorflow/python:framework", + "//tensorflow/python:framework_ops", "//tensorflow/python:logging_ops", "//tensorflow/python:nn", "//tensorflow/python:summary", @@ -183,7 +172,7 @@ py_test( ":summaries", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", + "//tensorflow/python:framework_ops", "//tensorflow/python:platform", "//tensorflow/python:summary", ], diff --git a/tensorflow/contrib/slim/python/slim/data/BUILD b/tensorflow/contrib/slim/python/slim/data/BUILD index 1326f4093c..4d42a11d16 100644 --- a/tensorflow/contrib/slim/python/slim/data/BUILD +++ b/tensorflow/contrib/slim/python/slim/data/BUILD @@ -72,12 +72,10 @@ py_test( "//tensorflow/python:client", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:image_ops", "//tensorflow/python:io_ops", "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", - "//tensorflow/python:platform_test", ], ) @@ -87,11 +85,9 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:data_flow_ops", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:io_ops", "//tensorflow/python:math_ops", - "//tensorflow/python:ops", "//tensorflow/python:platform", "//tensorflow/python:summary", "//tensorflow/python:training", @@ -111,9 +107,7 @@ py_test( "//tensorflow/python:data_flow_ops", "//tensorflow/python:errors", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:io_ops", - "//tensorflow/python:platform_test", "//tensorflow/python:training", "//tensorflow/python:variables", ], @@ -125,10 +119,8 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:data_flow_ops", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", - "//tensorflow/python:ops", "//tensorflow/python:summary", "//tensorflow/python:training", ], @@ -141,11 +133,11 @@ py_test( srcs_version = "PY2AND3", deps = [ ":prefetch_queue", + "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", + "//tensorflow/python:data_flow_ops", "//tensorflow/python:errors", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", - "//tensorflow/python:platform_test", "//tensorflow/python:random_ops", "//tensorflow/python:training", "//tensorflow/python:variables", @@ -174,13 +166,13 @@ py_library( ":data_decoder", "//tensorflow/python:array_ops", "//tensorflow/python:control_flow_ops", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", + "//tensorflow/python:functional_ops", "//tensorflow/python:image_ops", "//tensorflow/python:math_ops", - "//tensorflow/python:ops", "//tensorflow/python:parsing_ops", "//tensorflow/python:sparse_ops", + "//tensorflow/python:sparse_tensor", ], ) @@ -195,11 +187,9 @@ py_test( "//tensorflow/python:client_testlib", "//tensorflow/python:control_flow_ops", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:image_ops", "//tensorflow/python:math_ops", "//tensorflow/python:parsing_ops", - "//tensorflow/python:platform_test", "//third_party/py/numpy", ], ) diff --git a/tensorflow/contrib/slim/python/slim/nets/BUILD b/tensorflow/contrib/slim/python/slim/nets/BUILD index 737bbbe57b..e2035ab014 100644 --- a/tensorflow/contrib/slim/python/slim/nets/BUILD +++ b/tensorflow/contrib/slim/python/slim/nets/BUILD @@ -243,9 +243,9 @@ py_test( "//tensorflow/contrib/layers:layers_py", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", + "//tensorflow/python:random_seed", "//tensorflow/python:variable_scope", "//tensorflow/python:variables", "//third_party/py/numpy", @@ -272,14 +272,15 @@ py_test( srcs = ["resnet_v2_test.py"], srcs_version = "PY2AND3", deps = [ + ":resnet_utils", ":resnet_v2", "//tensorflow/contrib/framework:framework_py", "//tensorflow/contrib/layers:layers_py", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", + "//tensorflow/python:random_seed", "//tensorflow/python:variable_scope", "//tensorflow/python:variables", "//third_party/py/numpy", @@ -299,7 +300,6 @@ py_test( "//tensorflow/contrib/layers:layers_py", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", "//third_party/py/numpy", |