xref: /aosp_15_r20/external/armnn/delegate/armnnDelegateJNI/README.md (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1# The Arm NN TensorFlow Lite delegate JNI (Experimental)
2
3NOTE: This library is an experimental feature. We cannot guarentee full support for this.
4
5'armnnDelegateJNI' is a library for accelerating certain TensorFlow Lite operators on Arm hardware specifically through Android
6applications. Each release is packaged in an AAR which can be found on Maven Central.
7The pre-built library contains the ArmNN Core, ArmNN Utils, Neon backend, CL Backend, and the ArmNN Delegate.
8It is essential to only build these. The backends you choose are optional.
9
10It requires a static build which can be switched on through setting BUILD_SHARED_LIBS=OFF. You will also have to set
11CMAKE_ANDROID_STL_TYPE=c++_static when building ArmNN.
12
13BUILD_DELEGATE_JNI_INTERFACE will also have to be set to true.
14
15To 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).
16