Further BUILD cleanup

PiperOrigin-RevId: 159749869
This commit is contained in:
A. Unique TensorFlower 2017-06-21 15:05:34 -07:00 committed by TensorFlower Gardener
parent 12c4775b37
commit 0a379aefe4
12 changed files with 42 additions and 19 deletions

View File

@ -18,20 +18,15 @@ py_library(
"//tensorflow/contrib/linalg:linalg_py",
"//tensorflow/python:array_ops",
"//tensorflow/python:check_ops",
"//tensorflow/python:client_testlib",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:data_flow_ops",
"//tensorflow/python:framework",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:linalg_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:nn",
"//tensorflow/python:nn_ops",
"//tensorflow/python:random_ops",
"//tensorflow/python:special_math_ops",
"//tensorflow/python:tensor_util",
"//tensorflow/python:util",
"//tensorflow/python/ops/distributions",
"//third_party/py/numpy",
"@six_archive//:six",
],
)
@ -47,14 +42,14 @@ py_library(
"//tensorflow/python:client_testlib",
"//tensorflow/python:control_flow_ops",
"//tensorflow/python:data_flow_ops",
"//tensorflow/python:framework",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:linalg_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:nn",
"//tensorflow/python:nn_ops",
"//tensorflow/python:random_ops",
"//tensorflow/python:special_math_ops",
"//tensorflow/python:tensor_util",
"//tensorflow/python:util",
"//tensorflow/python/ops/distributions",
"//third_party/py/numpy",
"@six_archive//:six",

View File

@ -171,10 +171,11 @@ py_library(
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops",
"//tensorflow/python:embedding_ops",
"//tensorflow/python:framework",
"//tensorflow/python:constant_op",
"//tensorflow/python:math_ops",
"//tensorflow/python:sparse_ops",
"//tensorflow/python:sparse_tensor",
"//third_party/py/numpy",
],
)

View File

@ -19,12 +19,11 @@ py_library(
],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/contrib/framework:framework_py",
"//tensorflow/python:framework",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:state_ops",
"//tensorflow/core:protos_all_py",
"//tensorflow/python:client",
"//tensorflow/python:platform",
"//tensorflow/python:training",
"//tensorflow/python:variables",
"//tensorflow/python:util",
],
)
@ -35,10 +34,12 @@ py_test(
srcs_version = "PY2AND3",
deps = [
":hooks",
"//tensorflow/contrib/framework:framework_py",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:platform_test",
"//tensorflow/python:platform",
"//tensorflow/python:state_ops",
"//tensorflow/python:training",
],
)

View File

@ -37,6 +37,9 @@ py_library(
visibility = ["//visibility:public"],
deps = [
"//tensorflow/core:protos_all_py",
"//tensorflow/python:lib",
"//tensorflow/python:util",
"//tensorflow/python/saved_model:constants",
],
)
@ -64,6 +67,7 @@ py_test(
srcs_version = "PY2AND3",
deps = [
":saved_model_py",
"//tensorflow/core:protos_all_py",
"//tensorflow/python:array_ops",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",

View File

@ -13,6 +13,10 @@ py_library(
name = "stat_summarizer_py",
srcs = ["__init__.py"],
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:pywrap_tensorflow",
"//tensorflow/python:util",
],
)
tf_py_test(

View File

@ -18,6 +18,7 @@ py_binary(
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:graph_util",
"//tensorflow/python:platform",
"//tensorflow/python:util",
"//third_party/py/numpy",
@ -50,10 +51,16 @@ py_test(
],
srcs_version = "PY2AND3",
deps = [
":label_image",
":retrain",
"//tensorflow:tensorflow_py",
"//tensorflow/python:framework_test_lib",
"//tensorflow/python:graph_util",
"//tensorflow/python:platform",
"//tensorflow/python:platform_test",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:util",
"//third_party/py/numpy",
],
)

View File

@ -21,7 +21,10 @@ cc_binary(
linkopts = ["-lm"],
deps = [
"//tensorflow/cc:cc_ops",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:framework_internal",
"//tensorflow/core:lib",
"//tensorflow/core:tensorflow",
],
)

View File

@ -32,5 +32,7 @@ py_binary(
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/python:lib",
"//tensorflow/python/saved_model:main_op",
],
)

View File

@ -16,6 +16,7 @@ py_binary(
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/learn",
"//third_party/py/numpy",
],
)

View File

@ -16,6 +16,8 @@ py_binary(
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/learn",
"//third_party/py/numpy",
],
)

View File

@ -20,7 +20,6 @@ py_binary(
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/learn",
"//third_party/py/numpy",
],
)

View File

@ -19,7 +19,10 @@ cc_library(
hdrs = ["wav_to_spectrogram.h"],
deps = [
"//tensorflow/cc:cc_ops",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:framework_internal",
"//tensorflow/core:lib",
"//tensorflow/core:tensorflow",
],
)
@ -30,6 +33,7 @@ cc_binary(
deps = [
":wav_to_spectrogram_lib",
"//tensorflow/core:framework_internal",
"//tensorflow/core:lib",
],
)