File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3838```
3939dependencies {
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
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ before initializing the TensorFlow Lite runtime.
7373Add 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
7979Then, check the GPU availability and initialize TfLiteNative if the check is
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ dependencies of your app's `build.gradle` file:
4040```
4141dependencies {
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
Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ services API for TensorFlow Lite:
133133dependencies {
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:
3873871 . 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
3933931. Initialize the GPU delegate with `setEnableGpuDelegateSupport`. For example,
@@ -465,7 +465,7 @@ To use the GPU delegate with the Interpreter APIs:
4654651. 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
4714711. Enable the GPU delegate option in the TFlite initialization:
You can’t perform that action at this time.
0 commit comments