Fix inference_interface tests

PiperOrigin-RevId: 302052660
Change-Id: Id1a5adb077d1736d8f79b4d9b98ed3e1ff58126d
This commit is contained in:
Jared Duke 2020-03-20 10:24:02 -07:00 committed by TensorFlower Gardener
parent 5cc23b291b
commit 73e780cbc2
2 changed files with 7 additions and 1 deletions
tensorflow/tools/android/inference_interface
BUILD
java/org/tensorflow/contrib/android

View File

@ -87,3 +87,8 @@ cc_binary(
LINKER_SCRIPT,
],
)
cc_library(
name = "android_tensorflow_inference_native",
srcs = if_android([":libtensorflow_inference.so"]),
)

View File

@ -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);
}
}
}