diff options
-rw-r--r-- | tensorflow/core/kernels/padding_fifo_queue.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/padding_fifo_queue.cc b/tensorflow/core/kernels/padding_fifo_queue.cc index d2f8c06fdb..36646e1221 100644 --- a/tensorflow/core/kernels/padding_fifo_queue.cc +++ b/tensorflow/core/kernels/padding_fifo_queue.cc @@ -155,7 +155,7 @@ void PaddingFIFOQueue::TryDequeueMany(int num_elements, OpKernelContext* ctx, // Expand sizes to match. int64 max_val = 0; for (const Tuple& t : tuples) { - max_val = max(max_val, t[i].shape().dim_size(j)); + max_val = std::max(max_val, t[i].shape().dim_size(j)); } shape.AddDim(max_val); } |