diff options
author | Geoffrey Irving <geoffreyi@google.com> | 2016-01-22 09:55:02 -0800 |
---|---|---|
committer | Vijay Vasudevan <vrv@google.com> | 2016-01-22 10:21:30 -0800 |
commit | d552be23658b3bdd1b7dedd34f25631773e81dff (patch) | |
tree | e5776923671da165ced3fa649dbbbcfb4ac07777 /tensorflow/core/kernels/resize_bicubic_op.cc | |
parent | 22ebf0a94fd42af2d78b7964e836c92673ddfa31 (diff) |
Change uses of TensorShape::ShortDebugString to DebugString
The two functions already have the same behavior, and ShortDebugString
will disappear soon.
Change: 112793490
Diffstat (limited to 'tensorflow/core/kernels/resize_bicubic_op.cc')
-rw-r--r-- | tensorflow/core/kernels/resize_bicubic_op.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/core/kernels/resize_bicubic_op.cc b/tensorflow/core/kernels/resize_bicubic_op.cc index 83b5af31c5..f0c087f47d 100644 --- a/tensorflow/core/kernels/resize_bicubic_op.cc +++ b/tensorflow/core/kernels/resize_bicubic_op.cc @@ -40,14 +40,14 @@ class ResizeBicubicOp : public OpKernel { const Tensor& input = context->input(0); OP_REQUIRES(context, input.dims() == 4, errors::InvalidArgument("input must be 4-dimensional", - input.shape().ShortDebugString())); + input.shape().DebugString())); const Tensor& shape_t = context->input(1); OP_REQUIRES(context, shape_t.dims() == 1, errors::InvalidArgument("shape_t must be 1-dimensional", - shape_t.shape().ShortDebugString())); + shape_t.shape().DebugString())); OP_REQUIRES(context, shape_t.NumElements() == 2, errors::InvalidArgument("shape_t must have two elements", - shape_t.shape().ShortDebugString())); + shape_t.shape().DebugString())); auto Svec = shape_t.vec<int32>(); // Initialize shape to the batch size of the input, then add |