commit | bc5f784d34a5315748b56cecb4674f4e546da2cd | [log] [tgz] |
---|---|---|
author | kevmay01 <kevin.may@arm.com> | Thu Aug 30 12:34:39 2018 +0100 |
committer | Matthew Bentham <matthew.bentham@arm.com> | Tue Sep 18 12:40:38 2018 +0100 |
tree | 70f300c7932301802cc8937531b5cf189e3bd536 | |
parent | 69558df6f149647888267caabf72de6b05fb6d53 [diff] |
IVGCVSW-1770: Refactor ModelToINetworkConverter to allow conversion of HAL1.1 operators Change-Id: I9b10f0a9c88344df108b2325c0233f9660fa6b7c
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: