diff options
author | Yu-Cheng Ling <ycling@google.com> | 2018-05-14 16:35:22 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-05-14 16:38:13 -0700 |
commit | 2d413fe4d34f666e35a820a37e4c49db4124233a (patch) | |
tree | e553b4d7213822c7982b5d91aaebbd58ffa6c98f /tensorflow/contrib/lite/model.h | |
parent | e0cf38213eaacad4572d8df31a83a67807c23eec (diff) |
Refactoring: Make OpResolver return const pointer.
PiperOrigin-RevId: 196587227
Diffstat (limited to 'tensorflow/contrib/lite/model.h')
-rw-r--r-- | tensorflow/contrib/lite/model.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/lite/model.h b/tensorflow/contrib/lite/model.h index 366bdb52c6..3946b49041 100644 --- a/tensorflow/contrib/lite/model.h +++ b/tensorflow/contrib/lite/model.h @@ -176,7 +176,7 @@ class InterpreterBuilder { const OpResolver& op_resolver_; ErrorReporter* error_reporter_; - std::vector<TfLiteRegistration*> flatbuffer_op_index_to_registration_; + std::vector<const TfLiteRegistration*> flatbuffer_op_index_to_registration_; std::vector<BuiltinOperator> flatbuffer_op_index_to_registration_types_; const Allocation* allocation_ = nullptr; }; |