Create a org.tensorflow.lite.flex.FlexDelegate class which
wraps its native counterpart for using TensorFlow ops in
TensorFlow Lite. Clients can either instantiate this delegate
directly when using ops that require TF ops, or add it as a
dependency to their project, and it will be instantiated when
necessary.
Also introduce a tensorflow-lite-select-tf-ops.aar target, which
is a plugin that should be used alongside tensorflow-lite.aar. The
existing tensorflow-lite-with-select-tf-ops, which is a monolithic
build that includes all of core TFLite, is now deprecated and will
soon be removed.
This work is in anticipation of pushing prebuilt
tensorflow-lite-select-tf-ops libraries to the TensorFlow Lite
Bintray repository.
PiperOrigin-RevId: 269449576
Create a org.tensorflow.lite.flex.FlexDelegate class which
wraps its native counterpart for using TensorFlow ops in
TensorFlow Lite. Clients can either instantiate this delegate
directly when using ops that require TF ops, or add it as a
dependency to their project, and it will be instantiated when
necessary.
Also introduce a tensorflow-lite-select-tf-ops.aar target, which
is a plugin that should be used alongside tensorflow-lite.aar. The
existing tensorflow-lite-with-select-tf-ops, which is a monolithic
build that includes all of core TFLite, is now deprecated and will
soon be removed.
This work is in anticipation of pushing prebuilt
tensorflow-lite-select-tf-ops libraries to the TensorFlow Lite
Bintray repository.
PiperOrigin-RevId: 264948003
This change moves //tensorflow/contrib/lite to //tensorflow/lite in preparation
for TensorFlow 2.0's deprecation of contrib/. If you refer to TF Lite build
targets or headers, you will need to update them manually. If you use TF Lite
from the TensorFlow python package, "tf.contrib.lite" now points to "tf.lite".
Please update your imports as soon as possible.
For more details, see https://groups.google.com/a/tensorflow.org/forum/#!topic/tflite/iIIXOTOFvwQ
@angersson and @aselle are conducting this migration. Please contact them if
you have any further questions.
PiperOrigin-RevId: 219536476