Improve error status message in scoped_allocator_ops.cc.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 9 May 2018 23:58:54 +0000 (16:58 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 10 May 2018 00:01:38 +0000 (17:01 -0700)
PiperOrigin-RevId: 196051520

tensorflow/core/kernels/scoped_allocator_ops.cc

index 1800ee8..1d2fb69 100644 (file)
@@ -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_) {