Move summary op dependency to the right location. It shouldn't be added to other logging-related ops.

PiperOrigin-RevId: 326532326
Change-Id: Id41f9c5ccee7fbf79af388ba1e658bcfa254097a
This commit is contained in:
Anna R 2020-08-13 15:05:22 -07:00 committed by TensorFlower Gardener
parent e9ca78c331
commit cab283ee83

View File

@ -3095,8 +3095,6 @@ LOGGING_DEPS = [
"//tensorflow/core:lib", "//tensorflow/core:lib",
"//tensorflow/core:lib_internal", "//tensorflow/core:lib_internal",
"//tensorflow/core:protos_all_cc", "//tensorflow/core:protos_all_cc",
# TODO(b/162630222): remove this dependency.
"//tensorflow/c/kernels:summary_op",
] ]
tf_kernel_library( tf_kernel_library(
@ -3121,7 +3119,9 @@ tf_kernel_library(
name = "summary_op", name = "summary_op",
prefix = "summary_op", prefix = "summary_op",
deps = LOGGING_DEPS + [ deps = LOGGING_DEPS + [
# TODO(b/162630222): remove these dependencies.
"//tensorflow/c/kernels:histogram_summary_op", "//tensorflow/c/kernels:histogram_summary_op",
"//tensorflow/c/kernels:summary_op",
], ],
) )