aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/util.cc
diff options
context:
space:
mode:
authorGravatar Yu-Cheng Ling <ycling@google.com>2018-09-26 14:57:43 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-26 15:03:20 -0700
commit82af048bc8c3c044c98a27b1c4c27bb62d4e4a14 (patch)
treed9285ea3c1ec60cdd1973c517975b61d14d14c1e /tensorflow/contrib/lite/util.cc
parent83df298d2ed014d263570c7283322c982be556cc (diff)
Rename TFLite Eager delegate -> Flex delegate
PiperOrigin-RevId: 214674717
Diffstat (limited to 'tensorflow/contrib/lite/util.cc')
-rw-r--r--tensorflow/contrib/lite/util.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/contrib/lite/util.cc b/tensorflow/contrib/lite/util.cc
index 7950653da9..6aa35b5227 100644
--- a/tensorflow/contrib/lite/util.cc
+++ b/tensorflow/contrib/lite/util.cc
@@ -18,9 +18,9 @@ limitations under the License.
namespace tflite {
-bool IsEagerOp(const char* custom_name) {
- return custom_name && strncmp(custom_name, kEagerCustomCodePrefix,
- strlen(kEagerCustomCodePrefix)) == 0;
+bool IsFlexOp(const char* custom_name) {
+ return custom_name && strncmp(custom_name, kFlexCustomCodePrefix,
+ strlen(kFlexCustomCodePrefix)) == 0;
}
TfLiteIntArray* ConvertVectorToTfLiteIntArray(const std::vector<int>& input) {