diff options
Diffstat (limited to 'tensorflow/python')
-rw-r--r-- | tensorflow/python/debug/BUILD | 118 | ||||
-rw-r--r-- | tensorflow/python/estimator/BUILD | 123 | ||||
-rw-r--r-- | tensorflow/python/feature_column/BUILD | 27 | ||||
-rw-r--r-- | tensorflow/python/ops/distributions/BUILD | 6 | ||||
-rw-r--r-- | tensorflow/python/profiler/BUILD | 11 | ||||
-rw-r--r-- | tensorflow/python/profiler/internal/BUILD | 7 | ||||
-rw-r--r-- | tensorflow/python/saved_model/BUILD | 15 |
7 files changed, 195 insertions, 112 deletions
diff --git a/tensorflow/python/debug/BUILD b/tensorflow/python/debug/BUILD index 711256fc98..47e12694ad 100644 --- a/tensorflow/python/debug/BUILD +++ b/tensorflow/python/debug/BUILD @@ -32,6 +32,7 @@ py_library( ":grpc_debug_server", ":hooks", ":local_cli_wrapper", + "//tensorflow/python:util", ], ) @@ -53,9 +54,13 @@ py_library( srcs = ["lib/debug_data.py"], srcs_version = "PY2AND3", deps = [ + "//tensorflow/core:protos_all_py", "//tensorflow/python:framework", + "//tensorflow/python:op_def_registry", "//tensorflow/python:platform", + "//tensorflow/python:tensor_util", "//third_party/py/numpy", + "@six_archive//:six", ], ) @@ -95,6 +100,7 @@ py_library( deps = [ ":debug_data", ":debug_utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:session_ops", "@six_archive//:six", @@ -108,8 +114,10 @@ py_library( deps = [ ":debug_utils", ":stepper", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client", "//tensorflow/python:errors", + "//tensorflow/python:framework_ops", ], ) @@ -194,14 +202,11 @@ py_library( deps = [ ":cli_shared", ":command_parser", - ":debug_data", ":debugger_cli_common", ":profiling", ":source_utils", ":ui_factory", - "//tensorflow/python:util", "//third_party/py/numpy", - "@six_archive//:six", ], ) @@ -279,6 +284,8 @@ py_library( deps = [ ":debug_data", ":framework", + "//tensorflow/core:protos_all_py", + "//tensorflow/python:platform", ], ) @@ -319,6 +326,7 @@ py_library( ":grpc_wrapper", ":local_cli_wrapper", ":stepper", + "//tensorflow/core:protos_all_py", "//tensorflow/python:training", ], ) @@ -394,14 +402,14 @@ py_binary( py_test( name = "debug_data_test", size = "small", - srcs = [ - "lib/debug_data_test.py", - ], + srcs = ["lib/debug_data_test.py"], srcs_version = "PY2AND3", deps = [ ":debug_data", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_test_lib", + "//tensorflow/python:platform", "//tensorflow/python:platform_test", "//third_party/py/numpy", ], @@ -410,9 +418,7 @@ py_test( cuda_py_test( name = "debug_gradients_test", size = "small", - srcs = [ - "lib/debug_gradients_test.py", - ], + srcs = ["lib/debug_gradients_test.py"], additional_deps = [ ":debug_data", ":debug_gradients", @@ -430,49 +436,50 @@ cuda_py_test( py_test( name = "debug_utils_test", size = "small", - srcs = [ - "lib/debug_utils_test.py", - ], + srcs = ["lib/debug_utils_test.py"], srcs_version = "PY2AND3", deps = [ ":debug_utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", "//tensorflow/python:platform_test", + "//tensorflow/python:resource_variable_ops", "//tensorflow/python:variables", "//third_party/py/numpy", - "@six_archive//:six", ], ) py_test( name = "source_utils_test", size = "small", - srcs = [ - "lib/source_utils_test.py", - ], + srcs = ["lib/source_utils_test.py"], srcs_version = "PY2AND3", deps = [ ":debug_data", ":debug_utils", ":source_utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client", + "//tensorflow/python:constant_op", "//tensorflow/python:control_flow_ops", + "//tensorflow/python:framework_ops", "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", "//tensorflow/python:platform_test", + "//tensorflow/python:resource_variable_ops", + "//tensorflow/python:util", "//tensorflow/python:variables", + "//third_party/py/numpy", ], ) cuda_py_test( name = "stepper_test", size = "small", - srcs = [ - "lib/stepper_test.py", - ], + srcs = ["lib/stepper_test.py"], additional_deps = [ ":stepper", "//tensorflow/python:array_ops", @@ -494,6 +501,7 @@ py_test( deps = [ ":debug_data", ":framework", + "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:client", "//tensorflow/python:errors", @@ -501,6 +509,8 @@ py_test( "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", "//tensorflow/python:platform_test", + "//tensorflow/python:resource_variable_ops", + "//tensorflow/python:util", "//tensorflow/python:variables", "//third_party/py/numpy", ], @@ -513,8 +523,8 @@ py_test( srcs_version = "PY2AND3", deps = [ ":profiling", + "//tensorflow/core:protos_all_py", "//tensorflow/python:framework_test_lib", - "//tensorflow/python:platform", "//tensorflow/python:platform_test", ], ) @@ -522,9 +532,7 @@ py_test( py_test( name = "curses_ui_test", size = "small", - srcs = [ - "cli/curses_ui_test.py", - ], + srcs = ["cli/curses_ui_test.py"], srcs_version = "PY2AND3", tags = ["no_windows"], deps = [ @@ -541,9 +549,7 @@ py_test( py_test( name = "readline_ui_test", size = "small", - srcs = [ - "cli/readline_ui_test.py", - ], + srcs = ["cli/readline_ui_test.py"], srcs_version = "PY2AND3", deps = [ ":debugger_cli_common", @@ -562,6 +568,7 @@ py_library( deps = [ ":debug_data", ":debug_utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:client", "//tensorflow/python:client_testlib", @@ -574,6 +581,7 @@ py_library( "//tensorflow/python:parsing_ops", "//tensorflow/python:platform_test", "//tensorflow/python:rnn", + "//tensorflow/python:rnn_cell", "//tensorflow/python:state_ops", "//tensorflow/python:tensor_array_grad", "//tensorflow/python:training", @@ -600,6 +608,7 @@ py_library( deps = [ ":debug_data", ":debug_service_pb2_grpc", + "//tensorflow/core/debug:debug_service_proto_py", "@six_archive//:six", ], ) @@ -612,8 +621,10 @@ py_library( ":debug_data", ":debug_utils", ":grpc_debug_server", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client", - "//tensorflow/python:platform", + "//tensorflow/python:constant_op", + "//tensorflow/python:errors", "//tensorflow/python:variables", ], ) @@ -654,9 +665,7 @@ cuda_py_test( py_test( name = "debugger_cli_common_test", size = "small", - srcs = [ - "cli/debugger_cli_common_test.py", - ], + srcs = ["cli/debugger_cli_common_test.py"], srcs_version = "PY2AND3", deps = [ ":debugger_cli_common", @@ -669,9 +678,7 @@ py_test( py_test( name = "command_parser_test", size = "small", - srcs = [ - "cli/command_parser_test.py", - ], + srcs = ["cli/command_parser_test.py"], srcs_version = "PY2AND3", deps = [ ":command_parser", @@ -683,12 +690,12 @@ py_test( py_test( name = "tensor_format_test", size = "small", - srcs = [ - "cli/tensor_format_test.py", - ], + srcs = ["cli/tensor_format_test.py"], srcs_version = "PY2AND3", deps = [ + ":debug_data", ":tensor_format", + "//tensorflow/core:protos_all_py", "//tensorflow/python:framework_test_lib", "//tensorflow/python:platform_test", "//third_party/py/numpy", @@ -699,18 +706,16 @@ py_test( py_test( name = "cli_shared_test", size = "small", - srcs = [ - "cli/cli_shared_test.py", - ], + srcs = ["cli/cli_shared_test.py"], srcs_version = "PY2AND3", deps = [ ":cli_shared", ":debugger_cli_common", "//tensorflow/python:errors", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:framework_test_lib", "//tensorflow/python:platform_test", + "//tensorflow/python:sparse_tensor", "//tensorflow/python:variables", ], ) @@ -734,9 +739,7 @@ py_test( cuda_py_test( name = "analyzer_cli_test", size = "small", - srcs = [ - "cli/analyzer_cli_test.py", - ], + srcs = ["cli/analyzer_cli_test.py"], additional_deps = [ ":analyzer_cli", ":command_parser", @@ -762,28 +765,27 @@ cuda_py_test( py_test( name = "profile_analyzer_cli_test", size = "small", - srcs = [ - "cli/profile_analyzer_cli_test.py", - ], + srcs = ["cli/profile_analyzer_cli_test.py"], srcs_version = "PY2AND3", deps = [ - ":command_parser", + ":debugger_cli_common", ":profile_analyzer_cli", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client_testlib", "//tensorflow/python:control_flow_ops", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:framework_test_lib", "//tensorflow/python:math_ops", "//tensorflow/python:platform_test", + "//tensorflow/python:session", + "//tensorflow/python:util", ], ) cuda_py_test( name = "stepper_cli_test", size = "small", - srcs = [ - "cli/stepper_cli_test.py", - ], + srcs = ["cli/stepper_cli_test.py"], additional_deps = [ ":stepper", ":stepper_cli", @@ -859,19 +861,19 @@ cuda_py_test( py_test( name = "dumping_wrapper_test", size = "small", - srcs = [ - "wrappers/dumping_wrapper_test.py", - ], + srcs = ["wrappers/dumping_wrapper_test.py"], srcs_version = "PY2AND3", deps = [ + ":debug_data", ":dumping_wrapper", + ":framework", ":hooks", ":stepper", "//tensorflow/python:array_ops", "//tensorflow/python:client", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:framework_test_lib", - "//tensorflow/python:math_ops", + "//tensorflow/python:platform", "//tensorflow/python:platform_test", "//tensorflow/python:state_ops", "//tensorflow/python:training", @@ -882,20 +884,22 @@ py_test( py_test( name = "local_cli_wrapper_test", size = "small", - srcs = [ - "wrappers/local_cli_wrapper_test.py", - ], + srcs = ["wrappers/local_cli_wrapper_test.py"], srcs_version = "PY2AND3", deps = [ ":cli_shared", ":debugger_cli_common", ":local_cli_wrapper", + "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:client", + "//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_test", + "//tensorflow/python:resource_variable_ops", "//tensorflow/python:state_ops", "//tensorflow/python:variables", ], diff --git a/tensorflow/python/estimator/BUILD b/tensorflow/python/estimator/BUILD index 5b47d1a156..83eeeb35b6 100644 --- a/tensorflow/python/estimator/BUILD +++ b/tensorflow/python/estimator/BUILD @@ -22,7 +22,6 @@ py_library( ":model_fn", ":parsing_utils", ":run_config", - ":util", "//tensorflow/python:util", ], ) @@ -44,11 +43,12 @@ py_library( srcs = ["model_fn.py"], srcs_version = "PY2AND3", deps = [ - ":export", + ":export_output", "//tensorflow/python:array_ops", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:training", "//tensorflow/python:util", + "//tensorflow/python/saved_model:signature_constants", "@six_archive//:six", ], ) @@ -59,12 +59,14 @@ py_test( srcs = ["model_fn_test.py"], srcs_version = "PY2AND3", deps = [ + ":export_output", ":model_fn", "//tensorflow/python:client_testlib", "//tensorflow/python:control_flow_ops", - "//tensorflow/python:framework", "//tensorflow/python:framework_for_generated_wrappers", + "//tensorflow/python:sparse_tensor", "//tensorflow/python:training", + "//tensorflow/python/saved_model:signature_constants", ], ) @@ -72,6 +74,10 @@ py_library( name = "run_config", srcs = ["run_config.py"], srcs_version = "PY2AND3", + deps = [ + "//tensorflow/core:protos_all_py", + "@six_archive//:six", + ], ) py_test( @@ -81,6 +87,7 @@ py_test( srcs_version = "PY2AND3", deps = [ ":run_config", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client_testlib", ], ) @@ -102,6 +109,7 @@ py_library( "//tensorflow/python:training", "//tensorflow/python:variable_scope", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -131,6 +139,8 @@ py_library( "//tensorflow/python:training", "//tensorflow/python:variables", "//tensorflow/python/feature_column", + "//third_party/py/numpy", + "@six_archive//:six", ], ) @@ -154,8 +164,10 @@ py_test( "//tensorflow/python:framework_ops", "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", + "//tensorflow/python:summary", "//tensorflow/python:training", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -181,6 +193,7 @@ py_library( "//tensorflow/python:training", "//tensorflow/python:variable_scope", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -206,8 +219,11 @@ py_test( "//tensorflow/python:nn", "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", + "//tensorflow/python:summary", "//tensorflow/python:training", + "//tensorflow/python:variables", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -239,7 +255,7 @@ py_library( ], srcs_version = "PY2AND3", deps = [ - ":export", + ":export_export", ":model_fn", ":run_config", ":util", @@ -255,6 +271,8 @@ py_library( "//tensorflow/python:util", "//tensorflow/python/saved_model:builder", "//tensorflow/python/saved_model:tag_constants", + "//third_party/py/numpy", + "@six_archive//:six", ], ) @@ -264,19 +282,20 @@ py_test( srcs_version = "PY2AND3", deps = [ ":estimator", - ":export", + ":export_export", + ":export_output", ":model_fn", ":numpy_io", ":run_config", - "//tensorflow/core:protos_all_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_for_generated_wrappers", "//tensorflow/python:init_ops", "//tensorflow/python:layers", "//tensorflow/python:lib", + "//tensorflow/python:lookup_ops", "//tensorflow/python:metrics", "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", @@ -290,6 +309,8 @@ py_test( "//tensorflow/python/ops/losses", "//tensorflow/python/saved_model:loader", "//tensorflow/python/saved_model:tag_constants", + "//third_party/py/numpy", + "@six_archive//:six", ], ) @@ -300,9 +321,10 @@ py_library( ], srcs_version = "PY2AND3", deps = [ - "//tensorflow/python:framework", + "//tensorflow/python:dtypes", "//tensorflow/python:parsing_ops", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -314,7 +336,7 @@ py_test( deps = [ ":parsing_utils", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", + "//tensorflow/python:dtypes", "//tensorflow/python:parsing_ops", "//tensorflow/python/feature_column", ], @@ -325,7 +347,10 @@ py_library( srcs = ["export/export_output.py"], srcs_version = "PY2AND3", deps = [ + "//tensorflow/python:dtypes", + "//tensorflow/python:framework_ops", "//tensorflow/python/saved_model:signature_def_utils", + "@six_archive//:six", ], ) @@ -336,7 +361,12 @@ py_test( srcs_version = "PY2AND3", deps = [ ":export_output", + "//tensorflow/core:protos_all_py", + "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", + "//tensorflow/python:constant_op", + "//tensorflow/python:dtypes", + "//tensorflow/python:sparse_tensor", "//tensorflow/python/saved_model:signature_constants", ], ) @@ -350,6 +380,7 @@ py_library( deps = [ ":export_export", ":export_output", + "//tensorflow/python:util", ], ) @@ -360,11 +391,14 @@ py_library( ], srcs_version = "PY2AND3", deps = [ - ":export_output", "//tensorflow/python:array_ops", - "//tensorflow/python:framework", + "//tensorflow/python:dtypes", + "//tensorflow/python:framework_ops", "//tensorflow/python:parsing_ops", - "//tensorflow/python/saved_model:signature_constants", + "//tensorflow/python:sparse_tensor", + "//tensorflow/python:tensor_shape", + "//tensorflow/python:util", + "@six_archive//:six", ], ) @@ -376,7 +410,17 @@ py_test( deps = [ ":export_export", ":export_output", + "//tensorflow/core:protos_all_py", + "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", + "//tensorflow/python:constant_op", + "//tensorflow/python:dtypes", + "//tensorflow/python:framework_ops", + "//tensorflow/python:framework_test_lib", + "//tensorflow/python:parsing_ops", + "//tensorflow/python:sparse_tensor", + "//tensorflow/python/saved_model:signature_constants", + "//tensorflow/python/saved_model:signature_def_utils", ], ) @@ -391,7 +435,6 @@ py_library( ":prediction_keys", "//tensorflow/python:array_ops", "//tensorflow/python:check_ops", - "//tensorflow/python:control_flow_ops", "//tensorflow/python:dtypes", "//tensorflow/python:framework_ops", "//tensorflow/python:lookup_ops", @@ -406,6 +449,7 @@ py_library( "//tensorflow/python/feature_column", "//tensorflow/python/ops/losses", "//tensorflow/python/saved_model:signature_constants", + "@six_archive//:six", ], ) @@ -427,6 +471,7 @@ py_test( "//tensorflow/python:check_ops", "//tensorflow/python:client_testlib", "//tensorflow/python:constant_op", + "//tensorflow/python:control_flow_ops", "//tensorflow/python:dtypes", "//tensorflow/python:errors", "//tensorflow/python:framework_ops", @@ -434,7 +479,10 @@ py_test( "//tensorflow/python:sparse_tensor", "//tensorflow/python:string_ops", "//tensorflow/python:training", + "//tensorflow/python/feature_column", "//tensorflow/python/saved_model:signature_constants", + "//third_party/py/numpy", + "@six_archive//:six", ], ) @@ -461,6 +509,7 @@ py_library( "//tensorflow/python:training", "//tensorflow/python:variable_scope", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -477,19 +526,25 @@ py_library( ":numpy_io", ":pandas_io", ":run_config", + "//tensorflow/core:protos_all_py", "//tensorflow/python:check_ops", "//tensorflow/python:client", "//tensorflow/python:client_testlib", + "//tensorflow/python:control_flow_ops", + "//tensorflow/python:data_flow_ops", "//tensorflow/python:dtypes", "//tensorflow/python:framework_ops", "//tensorflow/python:math_ops", + "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", "//tensorflow/python:sparse_tensor", "//tensorflow/python:state_ops", + "//tensorflow/python:summary", "//tensorflow/python:training", "//tensorflow/python:variable_scope", "//tensorflow/python:variables", "//tensorflow/python/feature_column", + "@six_archive//:six", ], ) @@ -503,28 +558,9 @@ py_test( "noasan", # times out b/63680444 ], deps = [ - ":estimator", - ":export_export", ":linear", ":linear_testing_utils", - ":metric_keys", - ":numpy_io", - ":pandas_io", - ":run_config", - "//tensorflow/python:check_ops", - "//tensorflow/python:client", "//tensorflow/python:client_testlib", - "//tensorflow/python:dtypes", - "//tensorflow/python:framework_ops", - "//tensorflow/python:math_ops", - "//tensorflow/python:platform", - "//tensorflow/python:sparse_tensor", - "//tensorflow/python:state_ops", - "//tensorflow/python:summary", - "//tensorflow/python:training", - "//tensorflow/python:variable_scope", - "//tensorflow/python:variables", - "//tensorflow/python/feature_column", ], ) @@ -555,7 +591,7 @@ py_test( ":numpy_io", "//tensorflow/python:client_testlib", "//tensorflow/python:errors", - "//tensorflow/python:framework_test_lib", + "//tensorflow/python:training", ], ) @@ -565,6 +601,7 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:training", + "@six_archive//:six", ], ) @@ -596,7 +633,6 @@ py_test( ":pandas_io", "//tensorflow/python:client_testlib", "//tensorflow/python:errors", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:training", ], ) @@ -616,7 +652,18 @@ py_library( "inputs/queues/feeding_queue_runner.py", ], srcs_version = "PY2AND3", - deps = ["//tensorflow/python:training"], + deps = [ + "//tensorflow/python:array_ops", + "//tensorflow/python:data_flow_ops", + "//tensorflow/python:dtypes", + "//tensorflow/python:errors", + "//tensorflow/python:framework_ops", + "//tensorflow/python:math_ops", + "//tensorflow/python:platform", + "//tensorflow/python:summary", + "//tensorflow/python:training", + "@six_archive//:six", + ], ) py_test( @@ -629,7 +676,6 @@ py_test( deps = [ ":inputs_queues", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework_test_lib", ], ) @@ -641,7 +687,8 @@ py_test( deps = [ ":inputs_queues", "//tensorflow/python:client_testlib", - "//tensorflow/python:errors", - "//tensorflow/python:framework_test_lib", + "//tensorflow/python:framework_ops", + "//tensorflow/python:session", + "//tensorflow/python:training", ], ) diff --git a/tensorflow/python/feature_column/BUILD b/tensorflow/python/feature_column/BUILD index 1af8de3dc5..27062adb61 100644 --- a/tensorflow/python/feature_column/BUILD +++ b/tensorflow/python/feature_column/BUILD @@ -33,20 +33,27 @@ py_library( srcs = ["feature_column.py"], srcs_version = "PY2AND3", deps = [ + "//tensorflow/python:array_ops", + "//tensorflow/python:check_ops", + "//tensorflow/python:control_flow_ops", + "//tensorflow/python:dtypes", "//tensorflow/python:embedding_ops", - "//tensorflow/python:framework", + "//tensorflow/python:framework_ops", "//tensorflow/python:init_ops", "//tensorflow/python:lookup_ops", "//tensorflow/python:math_ops", + "//tensorflow/python:nn_ops", "//tensorflow/python:parsing_ops", "//tensorflow/python:platform", "//tensorflow/python:sparse_ops", "//tensorflow/python:sparse_tensor", "//tensorflow/python:string_ops", + "//tensorflow/python:tensor_shape", "//tensorflow/python:training", "//tensorflow/python:util", "//tensorflow/python:variable_scope", "//tensorflow/python:variables", + "@six_archive//:six", ], ) @@ -68,12 +75,22 @@ py_test( srcs_version = "PY2AND3", tags = ["no_pip"], deps = [ + ":feature_column", ":feature_column_py", + "//tensorflow/core:protos_all_py", + "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework", - "//tensorflow/python:framework_test_lib", - "//tensorflow/python:platform_test", + "//tensorflow/python:constant_op", + "//tensorflow/python:dtypes", + "//tensorflow/python:errors", + "//tensorflow/python:framework_ops", + "//tensorflow/python:lookup_ops", + "//tensorflow/python:parsing_ops", + "//tensorflow/python:session", + "//tensorflow/python:sparse_tensor", "//tensorflow/python:training", - "//tensorflow/python/estimator:inputs", + "//tensorflow/python:variable_scope", + "//tensorflow/python:variables", + "//tensorflow/python/estimator:numpy_io", ], ) diff --git a/tensorflow/python/ops/distributions/BUILD b/tensorflow/python/ops/distributions/BUILD index a101c1b545..50b956a267 100644 --- a/tensorflow/python/ops/distributions/BUILD +++ b/tensorflow/python/ops/distributions/BUILD @@ -12,14 +12,18 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:array_ops", + "//tensorflow/python:check_ops", "//tensorflow/python:control_flow_ops", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:math_ops", "//tensorflow/python:nn", "//tensorflow/python:nn_ops", - "//tensorflow/python:platform", + "//tensorflow/python:random_ops", "//tensorflow/python:special_math_ops", + "//tensorflow/python:tensor_util", "//tensorflow/python:util", + "//third_party/py/numpy", + "@six_archive//:six", ], ) diff --git a/tensorflow/python/profiler/BUILD b/tensorflow/python/profiler/BUILD index f9e8578866..32ecde0243 100644 --- a/tensorflow/python/profiler/BUILD +++ b/tensorflow/python/profiler/BUILD @@ -13,7 +13,9 @@ py_library( visibility = ["//visibility:public"], deps = [ ":model_analyzer", + ":option_builder", ":tfprof_logger", + "//tensorflow/core/profiler:protos_all_py", "//tensorflow/python:util", ], ) @@ -35,7 +37,9 @@ py_library( ":option_builder", ":tfprof_logger", "//tensorflow/core/profiler:protos_all_py", + "//tensorflow/python:errors", "//tensorflow/python:pywrap_tensorflow", + "@six_archive//:six", ], ) @@ -124,10 +128,11 @@ py_test( tags = ["no_pip"], # TODO(annarev): get it working with pip. deps = [ ":pprof_profiler", - "//tensorflow/python:client", + "//tensorflow/core:protos_all_py", "//tensorflow/python:client_testlib", - "//tensorflow/python:framework_test_lib", - "//tensorflow/python:platform_test", + "//tensorflow/python:constant_op", + "//tensorflow/python:control_flow_ops", + "//tensorflow/python:math_ops", "@com_google_pprof//:pprof_proto_py", ], ) diff --git a/tensorflow/python/profiler/internal/BUILD b/tensorflow/python/profiler/internal/BUILD index 5a6e53121c..f9cc8af19d 100644 --- a/tensorflow/python/profiler/internal/BUILD +++ b/tensorflow/python/profiler/internal/BUILD @@ -12,20 +12,17 @@ py_library( srcs = ["model_analyzer_testlib.py"], srcs_version = "PY2AND3", deps = [ - "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:init_ops", "//tensorflow/python:math_ops", "//tensorflow/python:nn_grad", "//tensorflow/python:nn_ops", - "//tensorflow/python:platform", "//tensorflow/python:rnn", + "//tensorflow/python:rnn_cell", "//tensorflow/python:tensor_array_grad", "//tensorflow/python:training", "//tensorflow/python:variable_scope", - "//tensorflow/python:variables", - "//tensorflow/python/profiler:model_analyzer", ], ) @@ -39,10 +36,8 @@ py_test( "//tensorflow/python:client", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_for_generated_wrappers", - "//tensorflow/python:framework_test_lib", "//tensorflow/python:init_ops", "//tensorflow/python:nn_ops", - "//tensorflow/python:platform_test", "//tensorflow/python:pywrap_tensorflow", "//tensorflow/python:variable_scope", ], diff --git a/tensorflow/python/saved_model/BUILD b/tensorflow/python/saved_model/BUILD index 775232c19f..39c6439811 100644 --- a/tensorflow/python/saved_model/BUILD +++ b/tensorflow/python/saved_model/BUILD @@ -27,6 +27,7 @@ py_library( ":signature_def_utils", ":tag_constants", ":utils", + "//tensorflow/python:util", ], ) @@ -34,18 +35,21 @@ py_library( name = "constants", srcs = ["constants.py"], srcs_version = "PY2AND3", + deps = ["//tensorflow/python:util"], ) py_library( name = "signature_constants", srcs = ["signature_constants.py"], srcs_version = "PY2AND3", + deps = ["//tensorflow/python:util"], ) py_library( name = "tag_constants", srcs = ["tag_constants.py"], srcs_version = "PY2AND3", + deps = ["//tensorflow/python:util"], ) py_library( @@ -79,6 +83,7 @@ py_library( "//tensorflow/core:protos_all_py", "//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:lib", + "//tensorflow/python:platform", "//tensorflow/python:training", "//tensorflow/python:util", ], @@ -93,8 +98,9 @@ py_library( srcs_version = "PY2AND3", deps = [ "//tensorflow/python:control_flow_ops", - "//tensorflow/python:data_flow_ops", "//tensorflow/python:framework_for_generated_wrappers", + "//tensorflow/python:lookup_ops", + "//tensorflow/python:util", "//tensorflow/python:variables", ], ) @@ -114,7 +120,6 @@ py_test( ":main_op", ":signature_def_utils", ":tag_constants", - ":utils", "//tensorflow/core:protos_all_py", "//tensorflow/python:client", "//tensorflow/python:client_testlib", @@ -140,6 +145,8 @@ py_library( deps = [ "//tensorflow/core:protos_all_py", "//tensorflow/python:framework_for_generated_wrappers", + "//tensorflow/python:sparse_tensor", + "//tensorflow/python:util", ], ) @@ -151,9 +158,11 @@ py_test( visibility = ["//visibility:private"], deps = [ ":utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_for_generated_wrappers", + "//tensorflow/python:sparse_tensor", ], ) @@ -168,6 +177,7 @@ py_library( ":signature_constants", ":utils", "//tensorflow/core:protos_all_py", + "//tensorflow/python:util", ], ) @@ -181,6 +191,7 @@ py_test( ":signature_constants", ":signature_def_utils", ":utils", + "//tensorflow/core:protos_all_py", "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib", "//tensorflow/python:framework_for_generated_wrappers", |