Skip to content

Commit a205654

Browse files
Update Maven package name in error messages from TF Lite to LiteRT.
PiperOrigin-RevId: 839392708
1 parent 1357304 commit a205654

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/GpuDelegateProxy.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static GpuDelegateProxy maybeNewInstance(TfLiteRuntime runtime) {
9999
message =
100100
String.format(
101101
"You should declare a build dependency on"
102-
+ " org.tensorflow.lite:tensorflow-lite-gpu,"
102+
+ " com.google.ai.edge.litert:litert-gpu,"
103103
+ " or call .%s with a value other than TfLiteRuntime.FROM_APPLICATION_ONLY"
104104
+ " (see docs for %s#%s(TfLiteRuntime)).",
105105
methodName, className, methodName);
@@ -116,7 +116,7 @@ public static GpuDelegateProxy maybeNewInstance(TfLiteRuntime runtime) {
116116
default:
117117
message =
118118
"You should declare a build dependency on"
119-
+ " org.tensorflow.lite:tensorflow-lite-gpu or"
119+
+ " com.google.ai.edge.litert:litert-gpu or"
120120
+ " com.google.android.gms:play-services-tflite-gpu";
121121
break;
122122
}

0 commit comments

Comments
 (0)