diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-05-21 07:00:53 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-05-21 07:03:18 -0700 |
commit | 158528e2bf1131abc4571e5e31b38e4dfb9199d4 (patch) | |
tree | 4c1776f857f0a0b5eefa2823b26651d7978607bd /tensorflow/contrib/lite/kernels/resize_bilinear.cc | |
parent | 6b374e903a1ecc27ddf1c4dcb29a4cd8366ccd8b (diff) |
Enhance error reporting.
PiperOrigin-RevId: 197390052
Diffstat (limited to 'tensorflow/contrib/lite/kernels/resize_bilinear.cc')
-rw-r--r-- | tensorflow/contrib/lite/kernels/resize_bilinear.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/kernels/resize_bilinear.cc b/tensorflow/contrib/lite/kernels/resize_bilinear.cc index e4bd0f5b85..f2092eaa36 100644 --- a/tensorflow/contrib/lite/kernels/resize_bilinear.cc +++ b/tensorflow/contrib/lite/kernels/resize_bilinear.cc @@ -104,7 +104,8 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { } #undef TF_LITE_RESIZE_BILINEAR } else { - context->ReportError(context, "Inputs and outputs not all float types."); + context->ReportError(context, "Output type is %d, requires float.", + output->type); return kTfLiteError; } |