diff --git a/tensorflow/compiler/tests/BUILD b/tensorflow/compiler/tests/BUILD index 11501721fd1..e4458a9a287 100644 --- a/tensorflow/compiler/tests/BUILD +++ b/tensorflow/compiler/tests/BUILD @@ -1485,6 +1485,7 @@ tf_xla_py_test( "//tensorflow/compiler/tf2xla/python:xla", "//tensorflow/python:array_ops", "//tensorflow/python:framework", + "//tensorflow/python:image_ops", "//tensorflow/python:platform_test", "//tensorflow/python:training", ], diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD index 698b8e3979d..f323a6c918e 100644 --- a/tensorflow/python/BUILD +++ b/tensorflow/python/BUILD @@ -3633,7 +3633,6 @@ py_library( "//tensorflow/python/distribute:distribute_lib", "//tensorflow/python/eager:context", "//tensorflow/python/eager:function", - "//tensorflow/python/keras/engine:base_layer_utils", ], ) @@ -4445,6 +4444,7 @@ py_library( ":math_ops", ":random_ops_gen", ":random_seed", + ":stateless_random_ops", ], ) @@ -4486,10 +4486,10 @@ py_library( srcs = ["ops/stateless_random_ops.py"], srcs_version = "PY2AND3", deps = [ + ":array_ops", ":dtypes", ":framework_ops", ":math_ops", - ":random_ops", ":stateless_random_ops_gen", ":stateless_random_ops_v2_gen", ], diff --git a/tensorflow/python/distribute/BUILD b/tensorflow/python/distribute/BUILD index ba76058bace..49c91786f18 100644 --- a/tensorflow/python/distribute/BUILD +++ b/tensorflow/python/distribute/BUILD @@ -875,6 +875,7 @@ py_library( srcs = ["multi_worker_test_base.py"], srcs_version = "PY2AND3", deps = [ + ":distribute_coordinator", ":multi_process_runner", "//tensorflow/core:protos_all_py", "//tensorflow/python:client_testlib", diff --git a/tensorflow/python/tpu/BUILD b/tensorflow/python/tpu/BUILD index 1bab02d0890..0afe2086d93 100644 --- a/tensorflow/python/tpu/BUILD +++ b/tensorflow/python/tpu/BUILD @@ -509,6 +509,7 @@ pytype_library( srcs = ["tpu_embedding_v2_utils.py"], srcs_version = "PY2AND3", deps = [ + "//tensorflow/python:init_ops_v2", "//tensorflow/python:variable_scope", "//tensorflow/python/distribute:device_util", "//tensorflow/python/distribute:sharded_variable",