diff options
author | Nupur Garg <nupurgarg@google.com> | 2018-06-12 09:38:40 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-06-12 09:42:14 -0700 |
commit | 90f6bd2d962ade377a5b92c7d1c0e1faa78288e0 (patch) | |
tree | 5c149a8800e2df1bfac4f9f7f5a987e03a90a796 /tensorflow/contrib/lite/toco/tooling_util.cc | |
parent | deb845fc79bcfe4d534a7050cc8e342f86db9dd0 (diff) |
Add strings type to TOCO Python API.
PiperOrigin-RevId: 200228895
Diffstat (limited to 'tensorflow/contrib/lite/toco/tooling_util.cc')
-rw-r--r-- | tensorflow/contrib/lite/toco/tooling_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/toco/tooling_util.cc b/tensorflow/contrib/lite/toco/tooling_util.cc index 810718f610..13e9331919 100644 --- a/tensorflow/contrib/lite/toco/tooling_util.cc +++ b/tensorflow/contrib/lite/toco/tooling_util.cc @@ -920,7 +920,7 @@ void CheckEachArray(const Model& model) { CHECK(array->buffer->type == array->data_type); // The presence of a fixed buffer should imply the presence of a fixed // shape. - CHECK(array->has_shape()); + CHECK(array->has_shape()) << "Invalid array: " << array_entry.first; // Constant buffer should has a valid shape. for (int d : array->shape().dims()) { CHECK_GE(d, 1); |