debug_all_the_time
debug_all_the_time

Reputation: 574

What does "Flex Op" mean in Tensorflow?

When I looked into Tensorflow Lite, I found that custom operations will be exported as a "flex op" not as a native. I don't understand what is "flex op" and what is "native". Thank you!

The code related my questions is in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/toco/tflite/export.cc#L368

Upvotes: 5

Views: 2347

Answers (1)

miaout17
miaout17

Reputation: 4875

See the documentation here: Using TensorFlow Lite with select TensorFlow ops

It's an experimental feature to support TensorFlow ops which are not supported by TensorFlow Lite, by linking and running TensorFlow kernels.

"Flex" is the internal code name for the "Using TensorFlow Lite with select TensorFlow ops" feature.

Upvotes: 3

Related Questions