commit | f29a2c55af463141fac7c92042bfdb9f00ba4ccd | [log] [tgz] |
---|---|---|
author | Kevin May <kevin.may@arm.com> | Thu Mar 14 11:56:32 2019 +0000 |
committer | Áron Virginás-Tar <aron.virginas-tar@arm.com> | Fri Mar 15 10:56:29 2019 +0000 |
tree | 675816444109edc6af2268d407e6e61971485841 | |
parent | 7bac1d7e8a7bf82d7c481cf05e31ae76f91725a6 [diff] |
MLCE-91 LSTM doesn't support optional input * Add fix for optional NO_VALUE operands in ConversionUtils.hpp * Remove fail message for optional NO_VALUE in ConversionUtils.hpp * Add to existing tests and test helper to cover optional NO_VALUE Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Icf36af1fc00d3fb33cdd77ff6d6618cc4700d3fd
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/