aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/kernels/strided_slice.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-05-21 07:00:53 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-21 07:03:18 -0700
commit158528e2bf1131abc4571e5e31b38e4dfb9199d4 (patch)
tree4c1776f857f0a0b5eefa2823b26651d7978607bd /tensorflow/contrib/lite/kernels/strided_slice.cc
parent6b374e903a1ecc27ddf1c4dcb29a4cd8366ccd8b (diff)
Enhance error reporting.
PiperOrigin-RevId: 197390052
Diffstat (limited to 'tensorflow/contrib/lite/kernels/strided_slice.cc')
-rw-r--r--tensorflow/contrib/lite/kernels/strided_slice.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/kernels/strided_slice.cc b/tensorflow/contrib/lite/kernels/strided_slice.cc
index 9417be32b3..725dd8105a 100644
--- a/tensorflow/contrib/lite/kernels/strided_slice.cc
+++ b/tensorflow/contrib/lite/kernels/strided_slice.cc
@@ -235,8 +235,9 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
break;
default:
context->ReportError(context,
- "Type is currently not supported "
- "by StridedSlice.");
+ "Type %d is currently not supported "
+ "by StridedSlice.",
+ op_context.input->type);
return kTfLiteError;
}
#undef TF_LITE_STRIDED_SLICE