Skip to content

Commit 310c35d

Browse files
fergushendersoncopybara-github
authored andcommitted
Update version number for play-services-tflite-{java,gpu} in docs samples
to match the most recently released version. PiperOrigin-RevId: 815927276
1 parent 301c57b commit 310c35d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

tflite/g3doc/android/delegates/gpu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ file:
3838
```
3939
dependencies {
4040
...
41-
implementation 'com.google.android.gms:play-services-tflite-java:16.0.1'
42-
implementation 'com.google.android.gms:play-services-tflite-gpu:16.1.0'
41+
implementation 'com.google.android.gms:play-services-tflite-java:16.4.0'
42+
implementation 'com.google.android.gms:play-services-tflite-gpu:16.4.0'
4343
}
4444
```
4545

tflite/g3doc/android/delegates/gpu_native.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ before initializing the TensorFlow Lite runtime.
7373
Add the GPU delegate gradle dependencies to your application:
7474

7575
```
76-
implementation 'com.google.android.gms:play-services-tflite-gpu:16.2.0'
76+
implementation 'com.google.android.gms:play-services-tflite-gpu:16.4.0'
7777
```
7878

7979
Then, check the GPU availability and initialize TfLiteNative if the check is

tflite/g3doc/android/delegates/gpu_task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies of your app's `build.gradle` file:
4040
```
4141
dependencies {
4242
...
43-
implementation 'com.google.android.gms:play-services-tflite-gpu:16.0.0'
43+
implementation 'com.google.android.gms:play-services-tflite-gpu:16.4.0'
4444
}
4545
```
4646

tflite/g3doc/android/java.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ services API for TensorFlow Lite:
133133
dependencies {
134134
...
135135
// Tensorflow Lite dependencies for Google Play services
136-
implementation 'com.google.android.gms:play-services-tflite-java:16.0.1'
136+
implementation 'com.google.android.gms:play-services-tflite-java:16.4.0'
137137
// Optional: include Tensorflow Lite Support Library
138-
implementation 'com.google.android.gms:play-services-tflite-support:16.0.1'
138+
implementation 'com.google.android.gms:play-services-tflite-support:16.4.0'
139139
...
140140
}
141141
```
@@ -387,7 +387,7 @@ To use the GPU delegate with the Task APIs:
387387
1. Update the project dependencies to use the GPU delegate from Play services:
388388

389389
```
390-
implementation 'com.google.android.gms:play-services-tflite-gpu:16.1.0'
390+
implementation 'com.google.android.gms:play-services-tflite-gpu:16.4.0'
391391
```
392392
393393
1. Initialize the GPU delegate with `setEnableGpuDelegateSupport`. For example,
@@ -465,7 +465,7 @@ To use the GPU delegate with the Interpreter APIs:
465465
1. Update the project dependencies to use the GPU delegate from Play services:
466466
467467
```
468-
implementation 'com.google.android.gms:play-services-tflite-gpu:16.1.0'
468+
implementation 'com.google.android.gms:play-services-tflite-gpu:16.4.0'
469469
```
470470
471471
1. Enable the GPU delegate option in the TFlite initialization:

0 commit comments

Comments
 (0)