aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/util.h
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.h
parent83df298d2ed014d263570c7283322c982be556cc (diff)
Rename TFLite Eager delegate -> Flex delegate
PiperOrigin-RevId: 214674717
Diffstat (limited to 'tensorflow/contrib/lite/util.h')
-rw-r--r--tensorflow/contrib/lite/util.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/contrib/lite/util.h b/tensorflow/contrib/lite/util.h
index 6d81f844f8..31292a6f81 100644
--- a/tensorflow/contrib/lite/util.h
+++ b/tensorflow/contrib/lite/util.h
@@ -26,15 +26,15 @@ limitations under the License.
namespace tflite {
-// The prefix of Eager op custom code.
+// The prefix of Flex op custom code.
// This will be matched agains the `custom_code` field in `OperatorCode`
// Flatbuffer Table.
// WARNING: This is an experimental API and subject to change.
-constexpr char kEagerCustomCodePrefix[] = "Eager";
+constexpr char kFlexCustomCodePrefix[] = "Flex";
// Checks whether the prefix of the custom name indicates the operation is an
-// Eager operation.
-bool IsEagerOp(const char* custom_name);
+// Flex operation.
+bool IsFlexOp(const char* custom_name);
// Converts a `std::vector` to a `TfLiteIntArray`. The caller takes ownership
// of the returned pointer.