diff options
author | Jan Eilers <jan.eilers@arm.com> | 2021-12-08 10:05:47 +0000 |
---|---|---|
committer | Keith Davis <keith.davis@arm.com> | 2022-06-29 10:04:20 +0100 |
commit | a96489a2fd459bd3d73297fa5fdaef5d13a57a4e (patch) | |
tree | 2299402be2854c1bd508f57a35edc5c9059961f6 /delegate/armnnDelegateJNI/README.md | |
parent | 764ac655bd301ffc8cde4c912e67499954f9ef8f (diff) | |
download | armnn-a96489a2fd459bd3d73297fa5fdaef5d13a57a4e.tar.gz |
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 <jan.eilers@arm.com>
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I9bb2d698b5fdb0d1b30cf79e6f19746310cd61b2
Diffstat (limited to 'delegate/armnnDelegateJNI/README.md')
-rw-r--r-- | delegate/armnnDelegateJNI/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
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). |