aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/debug_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/kernels/debug_ops.h')
-rw-r--r--tensorflow/core/kernels/debug_ops.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/debug_ops.h b/tensorflow/core/kernels/debug_ops.h
index 848896a64a..aa47315f55 100644
--- a/tensorflow/core/kernels/debug_ops.h
+++ b/tensorflow/core/kernels/debug_ops.h
@@ -188,7 +188,6 @@ class DebugNumericSummaryOp : public OpKernel {
const T* input_flat = input.template flat<T>().data();
element_count = input_shape.num_elements();
- const double element_count_double = static_cast<double>(element_count);
for (int64 i = 0; i < element_count; ++i) {
T x = input_flat[i];
if (Eigen::numext::isnan(x)) {