From 98c139dce77d808db2e31c7b04b0777ad918da24 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Sat, 19 Sep 2026 13:11:34 -0700 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 984501225 --- tensorflow/core/kernels/BUILD | 6 +++++- tensorflow/core/kernels/xent_op.cc | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tensorflow/core/kernels/BUILD b/tensorflow/core/kernels/BUILD index dad011e28e9fab..dbc1438ef90514 100644 --- a/tensorflow/core/kernels/BUILD +++ b/tensorflow/core/kernels/BUILD @@ -4619,7 +4619,11 @@ tf_kernel_library( name = "xent_op", gpu_copts = tf_disable_ptxas_warning_flags(), prefix = "xent_op", - deps = NN_DEPS + ["//tensorflow/core/util:determinism_for_kernels"], + deps = NN_DEPS + [ + "//tensorflow/core/util:determinism_for_kernels", + "@com_google_absl//absl/status", + "@com_google_absl//absl/strings", + ], ) tf_kernel_library( diff --git a/tensorflow/core/kernels/xent_op.cc b/tensorflow/core/kernels/xent_op.cc index e875cdab3119e6..498c9d01016560 100644 --- a/tensorflow/core/kernels/xent_op.cc +++ b/tensorflow/core/kernels/xent_op.cc @@ -15,6 +15,10 @@ limitations under the License. // See docs in ../ops/nn_ops.cc. +#include + +#include "absl/status/status.h" +#include "absl/strings/str_cat.h" #define EIGEN_USE_THREADS #include "tensorflow/core/kernels/xent_op.h"