Add deprecation notice of tf.lite.Interpreter to TF 2.19.0 release notes and remove from 2.18, as no 2.18.1 is scheduled

PiperOrigin-RevId: 700142965
This commit is contained in:
Laura Pak 2024-11-25 16:57:25 -08:00 committed by TensorFlower Gardener
parent 494380ee28
commit f17bd766f8

View File

@ -16,6 +16,8 @@
(This is to enable better API compatibility for TFLite in Play services
while preserving the implementation flexibility to change the values of
these constants in the future.)
* Interpreter:
* `tf.lite.Interpreter` gives warning of future deletion and a redirection notice to its new location at `ai_edge_litert.interpreter`. See the [migration guide](https://ai.google.dev/edge/litert/migration) for details.
### Known Caveats
@ -74,8 +76,6 @@ This release contains contributions from many people at Google, as well as:
### Breaking Changes
* `tf.lite`
* Interpreter:
* `tf.lite.Interpreter` gives warning of future deletion and a redirection notice to its new location at `ai_edge_litert.interpreter`. See the [migration guide](https://ai.google.dev/edge/litert/migration) for details.
* C API:
* An optional, fourth parameter was added `TfLiteOperatorCreate` as a step forward towards a cleaner API for `TfLiteOperator`. Function `TfLiteOperatorCreate` was added recently, in TensorFlow Lite version 2.17.0, released on 7/11/2024, and we do not expect there will be much code using this function yet. Any code breakages can be easily resolved by passing nullptr as the new, 4th parameter.