From a96489a2fd459bd3d73297fa5fdaef5d13a57a4e Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Wed, 8 Dec 2021 10:05:47 +0000 Subject: Add jni interface for the ArmNN Delegate * adds a version script to hide away all symbols that are not required to use the interface * the main purpose of the jni interface is to enable the delegate to be used in android apps * Add static building to patch - see patch 7 for JNI patch only Signed-off-by: Jan Eilers Signed-off-by: Keith Davis Change-Id: I9bb2d698b5fdb0d1b30cf79e6f19746310cd61b2 --- delegate/armnnDelegateJNI/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 delegate/armnnDelegateJNI/README.md (limited to 'delegate/armnnDelegateJNI/README.md') diff --git a/delegate/armnnDelegateJNI/README.md b/delegate/armnnDelegateJNI/README.md new file mode 100644 index 0000000000..98ddd54a34 --- /dev/null +++ b/delegate/armnnDelegateJNI/README.md @@ -0,0 +1,15 @@ +# The Arm NN TensorFlow Lite delegate JNI (Experimental) + +NOTE: This library is an experimental feature. We cannot guarentee full support for this. + +'armnnDelegateJNI' is a library for accelerating certain TensorFlow Lite operators on Arm hardware specifically through Android +applications. Each release is packaged in an AAR which can be found on Maven Central. +The pre-built library contains the ArmNN Core, ArmNN Utils, Neon backend, CL Backend, and the ArmNN Delegate. +It is essential to only build these. The backends you choose are optional. + +It requires a static build which can be switched on through setting BUILD_SHARED_LIBS=OFF. You will also have to set +CMAKE_ANDROID_STL_TYPE=c++_static when building ArmNN. + +BUILD_DELEGATE_JNI_INTERFACE will also have to be set to true. + +To download the prebuilt ArmNN Delegate JNI AAR from Maven Central, please go to [ArmNN Maven Central Release Page](https://search.maven.org/artifact/io.github.arm-software/armnn.delegate). -- cgit v1.2.1