From: A. Unique TensorFlower Date: Wed, 9 May 2018 23:58:54 +0000 (-0700) Subject: Improve error status message in scoped_allocator_ops.cc. X-Git-Tag: upstream/v1.9.0_rc1~116^2^2~175 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=930974af4d8e24958c75286c31dc7e0ee67e75ba;p=platform%2Fupstream%2Ftensorflow.git Improve error status message in scoped_allocator_ops.cc. PiperOrigin-RevId: 196051520 --- diff --git a/tensorflow/core/kernels/scoped_allocator_ops.cc b/tensorflow/core/kernels/scoped_allocator_ops.cc index 1800ee8..1d2fb69 100644 --- a/tensorflow/core/kernels/scoped_allocator_ops.cc +++ b/tensorflow/core/kernels/scoped_allocator_ops.cc @@ -113,7 +113,7 @@ class ScopedAllocatorConcatOp : public OpKernel { OP_REQUIRES(context, backing_tensor.NumElements() >= shape_.num_elements(), errors::InvalidArgument("Backing tensor num elements ", backing_tensor.NumElements(), - " is not equal to expected ", + " is not >= to expected ", shape_.num_elements())); Tensor output(dtype_); if (reshape_) {