diff options
author | Yu-Cheng Ling <ycling@google.com> | 2018-09-26 14:57:43 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-26 15:03:20 -0700 |
commit | 82af048bc8c3c044c98a27b1c4c27bb62d4e4a14 (patch) | |
tree | d9285ea3c1ec60cdd1973c517975b61d14d14c1e /tensorflow/contrib/lite/kernels | |
parent | 83df298d2ed014d263570c7283322c982be556cc (diff) |
Rename TFLite Eager delegate -> Flex delegate
PiperOrigin-RevId: 214674717
Diffstat (limited to 'tensorflow/contrib/lite/kernels')
-rw-r--r-- | tensorflow/contrib/lite/kernels/register.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/contrib/lite/kernels/register.cc b/tensorflow/contrib/lite/kernels/register.cc index 2f4b663a28..9402105fa7 100644 --- a/tensorflow/contrib/lite/kernels/register.cc +++ b/tensorflow/contrib/lite/kernels/register.cc @@ -125,7 +125,7 @@ TfLiteStatus UnsupportedTensorFlowOp(TfLiteContext* context, TfLiteNode* node) { context->ReportError( context, "Regular TensorFlow ops are not supported by this interpreter. Make sure " - "you invoke the Eager delegate before inference."); + "you invoke the Flex delegate before inference."); return kTfLiteError; } @@ -136,13 +136,13 @@ const TfLiteRegistration* BuiltinOpResolver::FindOp(tflite::BuiltinOperator op, const TfLiteRegistration* BuiltinOpResolver::FindOp(const char* op, int version) const { - // Return the NULL Op for all ops whose name start with "Eager", allowing + // Return the NULL Op for all ops whose name start with "Flex", allowing // the interpreter to delegate their execution. - if (IsEagerOp(op)) { + if (IsFlexOp(op)) { static TfLiteRegistration null_op{ nullptr, nullptr, &UnsupportedTensorFlowOp, nullptr, nullptr, BuiltinOperator_CUSTOM, - "Eager", 1}; + "Flex", 1}; return &null_op; } return MutableOpResolver::FindOp(op, version); |