aboutsummaryrefslogtreecommitdiff
path: root/1.2
AgeCommit message (Collapse)Author
2023-09-26IVGCVSW-6294 Added Split support to Android-NN-Driverv23.11branches/android-nn-driver_23_11Mike Kelly
* Added Split support to Android-NN-Driver Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I4b0bc146597dae89b68402aa78d1f1b1c894a7fb
2023-07-31IVGCVSW-7825 Resolving CTS failures with Android Q and Hal 1.2.Colm Donelan
* The POW operator causes 23 CTS failures on the combination of Android Q and Hal 1.2. The problem does not manifest on later version of Android or other version of the Hal. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ib89417b35dc51c8fcb273f63663875ef41ab3dde
2023-07-25IVGCVSW-7888 Add Tile convert functionTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ic9479be6b3e6cf0e529c685c9b28c642e9dd00d5
2023-05-18IVGCVSW-7400 Add support for PowTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ida6d93d203d2430befbbd2deaa02108078de73f8
2023-04-07IVGCVSW-7197 Android NN driver Opaque delegate changesJohn Mcloughlin
!armnn:9369 Signed-off-by: John Mcloughlin <john.mcloughlin@arm.com> Change-Id: Ia31ef139ea78da92e324fb9428ad3cbbdb220047
2023-03-14IVGCVSW-3809 Refactor Elementwise Binary ops to use ElementwiseBinaryLayerTeresa Charlin
!armnn:9319 * Refactored all functions to convert Add, Div, Maximum, Minimum, Mul and Sub to use ElementwiseBinary layers instead. Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ic05885cd8692e7f1b7032862fb4a395af70e0bcd Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: If9717d6ab236d97c76f6cd39b96bde86c81e4382
2022-03-08IVGCVSW-6649 Add Timepoints to Android NN DriverRyan OShea
* Added timepoints to ArmnnDriverImpl across all versions * Added ALOGV message to display time taken for prepareModel function * Added ALOGV message to display time taken for prepareModelFromCache function Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: I07f341099e81a0da45db0e8f575ba3c26631e024
2022-02-16Revert "Revert "IVGCVSW-6700 Enable import aligned host memory in ↵Narumol Prangnawarat
android-nn-driver"" This reverts commit 8069603dc44b7673b356f66517cd8b25af8080f0. * Reason for revert: Try reenable import aligned host memory in android-nn-driver * Added a check to ArmNNDriverImpl.cpp to not call ExecuteWithDummyInputs with GpuAcc * Added new android-nn-driver driver options to enable / disable Import and Export * Import is disabled by default for now due to conv2d issues * Export is enabled by default !armnn:7147 Change-Id: I91110c58ebb3931d1c458e3774944e55c1250dd8 Signed-off-by: David Monahan <David.Monahan@arm.com>
2022-01-24IVGCVSW-6269 Add support of Unidirectional Sequence Lstm fp32/fp16 to AndroidCathal Corbett
* Unidirectional Sequence Lstm is supported in android-nn-driver. * CTS and VTS pass for Unidirectional Sequence Lstm if there are any without weights as inputs. If that isn't the case use the tests implemented in the android driver for LSTM. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Ie3a237b67f5101c4f9a2c7bea796e9c674bedba1
2021-11-08IVGCVSW-5636 'Implement NNAPI caching functions'Sadik Armagan
* Fixed test failures. !armnn:6617 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I9989ece8999d67dd40dfcf69b73f4d80f71687a4
2021-11-04IVGCVSW-5636 'Implement NNAPI caching functions'Sadik Armagan
* Cached serialized ArmNN model. !armnn:6384 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I78120a7f8ea892a28c0ff25f1b54e67a4f912574
2021-10-22IVGCVSW-6440 Enable internal profiling of Optimizer in Arm NN DriverKevin May
Signed-off-by: Kevin May <kevmay01@e126674.cambridge.arm.com> Change-Id: I92334f3215160ccdd3eb974456a6400bced42065
2021-09-23IVGCVSW-3715 Add Channel Shuffle supportTeresa Charlin
!armnn:6211 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie5e5d160f6d826c30f1fff298a4a73151c1ccdbb
2021-09-03android-nn-driver getType returns the right devicePablo Tello
* ArmnnDriver queries the options and returns CPU or GPU depending on which is the first backend listed in the options * Resolves MLCE-401 Change-Id: If4e63e144507e817449f37926711fa325861b57d Signed-off-by: Pablo Tello <pablo.tello@arm.com>
2021-09-02IVGCVSW-6262 Add support for Reduce ProdTeresa Charlin
!armnn:6053 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I678be047c0919d98dbd22d22f4c1fd1ea80ea0b7
2021-06-23IVGCVSW-6062 Rework the async threadpoolFinn Williams
!armnn:5801 Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9964d0899ce752441f380edddbd974010257b2dd
2021-06-16IVGCVSW-6088 Add Sin and Log to ElementWiseUnaryTeresa Charlin
!armnn:5755 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I82dc434ee9bfff452ec6c27527a5b3f91ebfe2ea
2021-05-26IVGCVSW-5781 Add Async Support to Android-NN-DriverFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I1f13d04100fdb119495b9e3054425bf3babc59f1
2021-04-26IVGCVSW-5416 'Add android-nn-driver support for CAST'Sadik Armagan
!armnn:5494 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ie99d58f7421c2634c23d2a68d1acaaac651963a4
2021-03-12IVGCVSW-5767 'Regression on SqueezeNet v1.1'Sadik Armagan
* MEAN operator second input data type is different than Reduction operators * Use existing ConvertMean() function for MEAN operator Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I211cb77515d88e54ded9646eebe3e901d437827c
2021-02-24IVGCVSW-5131 Add support for REDUCE_SUM, REDUCE_MIN and REDUCE_MAXTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ib88544dd6adc3d6a0d2f4c0b395e05b89bc8ad3e
2021-02-16IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argument to nnapiFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I15ca7db703065b0c70766a18b1a9a213834f39e0
2021-02-15IVGCVSW-5665 Basic NN Driver support for next OS VersionSadik Armagan
Signed-off-by: Kevin May <kevin.may@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1e1db52322092c6b1b7ac6183c3adc90aabcec24
2021-02-12IVGCVSW-5685 Add CpuAcc specific configuration option numberOfThreadsMatthew Sloyan
* Added --number-of-threads command line option to android-nn-driver !armnn:5068 Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I248326bf3c0355a7a17b70cb1aac7b7976820c12
2021-01-13IVGCVSW-4417 'Serialise ArmNN Model on android-nn-driver'Sadik Armagan
* Implemented serialization of the network on android-nn-driver !armnn:4850 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I3caf07bd4d1d2a3068c58f0b344303c4cf977ca6
2021-01-11IVGCVSW-5485 'Add CacheLoadedNetwork options to Android NN Driver'Sadik Armagan
* Added Flatbuffers dependency to android-nn-driver * Added CacheLoadedNetwork options to android-nn-driver Options will be android.hardware.neuralnetworks@1.3-service-armnn -v -c GpuAcc -n arm-armnn -s -q <file_path> & Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I2cdf0b84062cb1c6ad4346cd64b00161cfe85920
2020-10-01IVGCVSW-4566 Add support for EXP operatorTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ia3909f32a837ade88e848de7f9ee0bf003bc8c01
2020-09-30MLCE-233 Added ability to enable fast_math through the NNAPI driverMike Kelly
* Added -a command line option to enable fast_math on Neon/CL when launching the NNAPI driver * The invocation will look something like: /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-armnn -v -c GpuAcc -n arm-armnn -a * Enabling fast_math may cause an increase in VTS or CTS test failures due to a change in precision Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ifd8931f95efd65d3ae3aca9d9d61bd381e4e24a5
2020-05-29IVGCVSW-3847 Add Support for GATHERTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I69dd78d47628355c207a450119b054b04581c729
2020-05-19IVGCVSW-4453 Add Support for ANEURALNETWORKS_QLSTM to HAL 1.3 DriverSadik Armagan
* Add QLSTM support for Android NN Driver * Add overrideOutputInfo parameter to SetupAndTrackLayerOutputSlot * Add optional condition to GetInputScalar * Refactor Quantized 16 Bit LSTM impl Change-Id: Ie8fa98ad5ee4a62174ef91ca80f1df62b7fde937 Signed-off-by: Keith Davis <keith.davis@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2020-04-16IVGCVSW-4672 Fix VTS 1.2/1.3 GetCapabilities testKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I13be6896dd313bfeaf2f6b08ce0e47116116c3c0
2020-03-26IVGCVSW-4447 Add Hal 1_3 SupportKevin May
* Add new 1.3 files HalPolicy, ArmnnDriver, ArmnnDriverImpl * Add new .rc file for 1.3 service * Add ArmnnPreparedModel_1_3 and implement new functions * Update Android.mk with 1.3 driver and service * Refactor ifdef to include ARMNN_ANDROID_NN_V1_3 * Create Utils getMainModel for new 1.3 Model Main Subgraph * Use android Utils to convertToV1_X in ArmnnPrepapredModel_1_3 * Refactor HAL 1.2 convert functions into ConversionUtils_1_2.hpp * Replace ArmnnBurstExecutorWithCache with call to ExecutionBurstServer Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I514069e9e1b16bcd1c4abfb5d563d25ac22d02e3
2020-03-23IVGCVSW-3813 Add Unary Elementwise Operation 'NEG' support to the ↵Sadik Armagan
android-nn-driver !armnn:2917 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I6e38fd3d11dc3e30dfac0ddfc39b216b2a15d047
2020-03-19IVGCVSW-4565 TENSOR_BOOL8 data type not supported in AndroidNN DriverSadik Armagan
* Added TENSOR_BOOL8 support * Added Broadcast support to comparision operators !armnn:2903 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I844e32b57399eff2dc60af9b2099145316c80cae
2020-03-03IVGCVSW-4473 Android R pre Hal 1_3 build changesKevin May
* Update ErrorStatus to V1_0::ErrorStatus * Update Request to V1_0::Request * Update OperandType to V1_2::OperandType * Add namespace android::nn::hal in ArmnnDriverImpl for R only * Add missing g_RelaxedFloat32toFloat16PerformancePowerUsageName * Add namespace V1_0 or V1_1 where necessary * Update Android.mk with R macro and android.hardware.neuralnetworks@1.3 * Remove androidnn.go * include IAllocator in DriverTestHelpers * Remove unused LOCAL_CFLAGS Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I1787f1ed6784b3bbec017536d87d49197405e853 Signed-off-by: Kevin May <kevin.may@arm.com>
2020-01-28MLCE-153 Padding calculation for TransposeConv ignores strideMike Kelly
* Changed ConvertTransposeConv2d to use the unsigned values for strideX and strideY not the signed values from the descriptor. !ComputeLibrary:2599 !armnn:2612 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Iee300041f3ed585820b7c7e2edd8ab541f339d59
2020-01-27IVGCVSW-4301 Correctly validate reshape for broadcastable inputsDerek Lamberti
!android-nn-driver:2642 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I4db6ea4ed0a192c85f124c4a9ced60b1666a3870 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
2020-01-24IVGCVSW-4262 Add Calls to IsReshapeSupported and IsPermuteSupportedKevin May
!armnn:2643 * Add calls before addition of these layers in ConvertConcatenation * Add outputInfo parameter wherever needed for IsReshapeSupported Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ic5d142ea046161960ff2fc137bd261ebb4e6ac0c
2020-01-24IVGCVSW-4270 Change .dot file name to start with netIdJim Flynn
* .dot file will start with the same number as the associated input and output tensor dump files Change-Id: Ic64539854c2b8c34a7034fa18a142b2dfe67df7d Signed-off-by: Jim Flynn <jim.flynn@arm.com> IVGCVSW-4271 Add getSupportedOperations marker file * Also fix segfault in previous graph dump code Change-Id: I01915f47ae17d89ad3595430d073a17b1a1fda58 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-01-13IVGCVSW-3813 Add Unary Elementwise Operation support to the android-nn-driverjosh minor
* Account for deprecated Abs and Rsqrt layers in ArmNN * Update HAL 1.2 * Neg HAL operation support added !armnn:2542 Signed-off-by: josh minor <josh.minor@arm.com> Change-Id: I043bf64ac7ed3aea65560d72acf664e079917baf Signed-off-by: josh minor <josh.minor@arm.com>
2019-12-19IVGCVSW-4181 Add RESIZE_NEAREST_NEIGHBOUR to the android_nn_driverKeith Davis
* Add FP16 support Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I59a2862c734aa3678f19cc47f024f8cb92fb557e
2019-12-13MLCE-133: Driver infers scratchBuffer shape.Pablo Tello
Change-Id: I7977d697772349b8ea7eb300937409ce0a3a4dee Signed-off-by: Pablo Tello <pablo.tello@arm.com>
2019-11-29Catch std::exception instead of armnn::ExceptionDerek Lamberti
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I89ae4f3b607ccb83f1bf16e085c805d5fc5cf89c
2019-11-28IVGCVSW-4209 Create a public API for the ArmNN UtilsMatteo Martincigh
* Using the new public armnnUtils API !armnn:2386 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Ifa8af20ca131b1be19dbdceea6674a1274a396f3
2019-11-19IVGCVSW-3697 Add Support for ANEURALNETWORKS_ARG[MAX|MIN] to HAL 1.2 DriverFrancis Murtagh
!armnn:2313 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I543136e4e2ef9aece1378d2642064cc585246645
2019-11-18IVGCVSW-4139 Fix regression in ConvertDequantize()Aron Virginas-Tar
* Removed TENSOR_QUANT8_SYMM from the list of generally supported tensor data types * Fixed tensor info in DequantizeIfRequired() for on the fly dequantized QSymm8 weights * Moved code for checking whether a Dequantize operator is linked to FullyConnected or Lstm weights from ConvertDequantize() into a separate function inside 1.2/HalPolicy.cpp Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I19ea6f89a90f553a964b87d44f8ad8a064e96f7f
2019-11-15IVGCVSW-4115 Fix for armnn-driver-tests Capabilities failureKevin May
* Add TensorQuant8SymmPerChannel to ArmnnDriverImpl::getCapabilities_1_2 * Add TensorQuant8Symm and TensorQuant8SymmPerChannel to Capabilities supported operands tests Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ifbc742c5562f243172d2f4e6a2f6a8f3b6a405ea
2019-11-07IVGCVSW-4104 Support per-axis quantization for GROUPED_CONV2DAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ice7c4d3273db31130ec64edc1b76d1c9d5197961
2019-11-07IVGCVSW-4104 Skip per-axis quantization VTS/NeruralNetworks tests for ↵Aron Virginas-Tar
GROUPED_CONV2D * Report per-axis quantization as unsupported in ConvertGroupedConv2d() until support will have been added Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ibadb848b60956f8c90fa8b538d50dea8d9a57d92
2019-11-07MLCE-133 Fixed ASR hero use-casePablo Tello
* Added workaround in FC to deal with non const weights * Added workaround in LSTM to deal with non const weights Signed-off-by: Pablo Tello <pablo.tello@arm.com> Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I854eea6a74a6959606ff25b52a0ed80b3e0a18ab