Fix inference_interface tests
PiperOrigin-RevId: 302052660 Change-Id: Id1a5adb077d1736d8f79b4d9b98ed3e1ff58126d
This commit is contained in:
parent
5cc23b291b
commit
73e780cbc2
tensorflow/tools/android/inference_interface
@ -87,3 +87,8 @@ cc_binary(
|
||||
LINKER_SCRIPT,
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "android_tensorflow_inference_native",
|
||||
srcs = if_android([":libtensorflow_inference.so"]),
|
||||
)
|
||||
|
@ -543,7 +543,8 @@ public class TensorFlowInferenceInterface {
|
||||
} catch (UnsatisfiedLinkError e2) {
|
||||
throw new RuntimeException(
|
||||
"Native TF methods not found; check that the correct native"
|
||||
+ " libraries are present in the APK.");
|
||||
+ " libraries are present in the APK: "
|
||||
+ e2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user