commit | a6542c53e929172a36b4d3787686c13a7c569386 | [log] [tgz] |
---|---|---|
author | Jim Flynn <jim.flynn@arm.com> | Mon Apr 01 13:43:13 2019 +0100 |
committer | Matthew Bentham <matthew.bentham@arm.com> | Tue Apr 02 10:22:16 2019 +0100 |
tree | cf5e79549feae1d5f2cf5db4df4bda813af9c3d2 | |
parent | 6fad9b78885c5615a1948c481bae0af023f79441 [diff] |
IVGCVSW-2832 (Part 2) update clframework pin to b4a44ff3aa98d2b51f1621a7525db3f81108a1bd * Change in clframework to remove check for data format in the NE/CLReductionOperationKernel that was preventing a Resnet v2 50 model from running to completion !armnn:924 Change-Id: Ieab8b5f51df54b3379cedf02da119b3ffe79c7ab Signed-off-by: Jim Flynn <jim.flynn@arm.com>
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:
For Android P the vendor manifest.xml requires the Neural Network HAL information.
<hal format="hidl"> <name>android.hardware.neuralnetworks</name> <transport>hwbinder</transport> <version>1.1</version> <interface> <name>IDevice</name> <instance>armnn</instance> </interface> <fqname>@1.1::IDevice/armnn</fqname> </hal>
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/