aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/kernels/batch_to_space_nd.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/batch_to_space_nd.cc
parent6b374e903a1ecc27ddf1c4dcb29a4cd8366ccd8b (diff)
Enhance error reporting.
PiperOrigin-RevId: 197390052
Diffstat (limited to 'tensorflow/contrib/lite/kernels/batch_to_space_nd.cc')
-rw-r--r--tensorflow/contrib/lite/kernels/batch_to_space_nd.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/contrib/lite/kernels/batch_to_space_nd.cc b/tensorflow/contrib/lite/kernels/batch_to_space_nd.cc
index 262e1aeab1..c8cee88edf 100644
--- a/tensorflow/contrib/lite/kernels/batch_to_space_nd.cc
+++ b/tensorflow/contrib/lite/kernels/batch_to_space_nd.cc
@@ -163,8 +163,9 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
}
break;
default:
- context->ReportError(context,
- "Type is currently not supported by BatchToSpace.");
+ context->ReportError(
+ context, "Type %d is currently not supported by BatchToSpace.",
+ op_context.input->type);
return kTfLiteError;
}
#undef TF_LITE_BATCH_TO_SPACE_ND