diff --git a/tensorflow/lite/kernels/test_util.h b/tensorflow/lite/kernels/test_util.h index 3d5df1a9cff..f0f02d25add 100644 --- a/tensorflow/lite/kernels/test_util.h +++ b/tensorflow/lite/kernels/test_util.h @@ -461,7 +461,7 @@ class SingleOpModel { std::vector ExtractVector(int index) const { const T* v = interpreter_->typed_tensor(index); const auto* tensor = interpreter_->tensor(index); - CHECK(v); + CHECK(v) << "Could not extract vector at index: " << index; int tensor_size; if (tensor->sparsity) { // Getting the size of the sparse buffer this way is based on the