Split out dependencies on :lib in tensorflow/core:util.

PiperOrigin-RevId: 290179502
Change-Id: I7e3364f52d409236d3289a69e16a7b927bc4b42d
This commit is contained in:
Anna R 2020-01-16 17:25:47 -08:00 committed by TensorFlower Gardener
parent b3fc49f168
commit b62fd4718b
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,8 @@ package(
"//tensorflow/core/lib/histogram:__pkg__",
# tensorflow/core/framework uses array_slice, map_util, and flatmap
"//tensorflow/core/framework:__pkg__",
# tensorflow/core/util uses array_slice, inlined_vector
"//tensorflow/core/util:__pkg__",
],
licenses = ["notice"], # Apache 2.0
)

View File

@ -446,8 +446,9 @@ cc_library(
srcs = ["tensor_format.cc"],
hdrs = ["tensor_format.h"],
deps = [
"//tensorflow/core:lib",
"//tensorflow/core/framework:tensor",
"//tensorflow/core/lib/gtl:array_slice",
"//tensorflow/core/lib/gtl:inlined_vector",
"//tensorflow/core/platform:types",
],
)
@ -470,9 +471,9 @@ cc_library(
srcs = ["einsum_op_util.cc"],
hdrs = ["einsum_op_util.h"],
deps = [
"//tensorflow/core:lib",
"//tensorflow/core/lib/core:errors",
"//tensorflow/core/lib/core:status",
"//tensorflow/core/lib/gtl:inlined_vector",
"@com_google_absl//absl/strings",
],
)