Skip to content

Commit 3e8b654

Browse files
fergushendersoncopybara-github
authored andcommitted
Add APIs for retrieving the TF Lite Extension APIs version number.
PiperOrigin-RevId: 569014286
1 parent 16f268f commit 3e8b654

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

site/en/guide/versions.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,15 @@ We reserve the right to in future release changes to these APIs, potentially
158158
including non-backwards-compatible changes, on a different schedule than for the
159159
other TensorFlow Lite APIs. So we use a different version number for the
160160
TensorFlow Lite Extension APIs than the version numbers for TensorFlow Lite or
161-
TensorFlow (which were described in the previous section). The version number
162-
for the TensorFlow Lite Extension APIs is currently the same as the version
163-
number for TensorFlow and TensorFlow Lite. But in future, they may diverge; for
164-
example, we may increment the major version number for the TensorFlow Lite
165-
Extension APIs without incrementing the major version number for TensorFlow
166-
Lite, or vice versa.
161+
TensorFlow (which were described in the previous section). We are introducing
162+
some new APIs in TensorFlow Lite version 2.15 to get the TensorFlow Lite
163+
Extension APIs version (`TFLITE_EXTENSION_APIS_VERSION_STRING` in
164+
`tensorflow/lite/version.h`, and TfLiteExtensionApisVersion() in
165+
`tensorflow/lite/c/c_api.h`). The version number for the TensorFlow Lite
166+
Extension APIs is currently the same as the version number for TensorFlow and
167+
TensorFlow Lite. But in future, they may diverge; for example, we may increment
168+
the major version number for the TensorFlow Lite Extension APIs without
169+
incrementing the major version number for TensorFlow Lite, or vice versa.
167170

168171
The API surface that is covered by the TensorFlow Lite Extension APIs version
169172
number is comprised of the following public APIs:

0 commit comments

Comments
 (0)