commit | 265d1ad1c66eefc5c45025c314e2e2ac49a15949 | [log] [tgz] |
---|---|---|
author | Matteo Martincigh <matteo.martincigh@arm.com> | Tue Jan 08 18:14:53 2019 +0000 |
committer | Matteo Martincigh <matteo.martincigh@arm.com> | Fri Jan 11 10:07:32 2019 +0000 |
tree | ca19e7651e94ae29aad747f6a02ff5f648ebb293 | |
parent | 2c444fc7725f06e337be8008b88895851b447c61 [diff] |
IVGCVSW-2454 Merge together the pluggable backends work (was in a separate branch) and master * Minor fixes to make the NN Driver build with the merged changes * Passed missing ReshapeDescriptor to the layer support function !armnn:491 Change-Id: I61fb6ed8df6895bd5a12c6f2b1c322929eebe176
This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0 HAL and android.hardware.neuralnetworks@1.1 HAL.
For more information about supported operations and configurations, see NnapiSupport.txt
<ANDROID_ROOT>
<ANDROID_ROOT>/vendor/arm/android-nn-driver
system/vendor/bin/hw
directory in the Android image. To update the build environment, add to the contents of the variable PRODUCT_PACKAGES
within the device-specific makefile that is located in the <ANDROID_ROOT>/device/<manufacturer>/<product>
directory. This file is normally called device.mk
:For Android O or Android P, using NN API version (1.0), the following should be added to device.mk
:
For Android P, a new version of the NN API is available (1.1), thus the following should be added to device.mk
instead:
make
in <ANDROID_ROOT>
For example, if the ArmNN driver has been built with the NN API 1.0, check for the following file:
Please Note: Android O is only compatible with NN API version 1.0.
NeuralNetworksTest
unit tests (note this is an optional component that must be built).ArmnnDriver
tag.The GPU tuner is a feature of the Compute Library that finds optimum values for GPU acceleration tuning parameters. The recommended way of using it with ArmNN is to generate the tuning data during development of the Android image for a device, and use it in read-only mode during normal operation:
The android-nn-driver is provided under the MIT license. See LICENSE for more information. Contributions to this project are accepted under the same license.
Individual files contain the following tag instead of the full license text.
SPDX-License-Identifier: MIT
This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/