aboutsummaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-11IVGCVSW-4482 Remove boost::ignore_unusedJan Eilers
* replaced boost::ignore_unused with armnn::IgnoreUnused Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I4443a3620ed7d51b151af67c070d4225e410b5fa
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-02-11Partial Revert "IVGCVSW-4130 Remove clframework from android-nn-driver build."Mike Kelly
* Partial reversion to restore Android.mk files. * Changed armnn-arm_compute library name to arm_compute_library. !armnn:2714 This reverts commit 826dd41dc4de616059a61fb0aaec432311372c6c. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Idb4a2eeb6cbb19a249c1a85eec2cf597d6b6d970
2020-01-31IVGCVSW-4130 Remove clframework from android-nn-driver build.Colm Donelan
Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I019bdab899de19c1a2cb6bbd72dd38ceb677d98b
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-24IVGCVSW-4260 Fix Transpose CpuRef VTS failuresJames Conroy
* Adds missing conversion for permutation vector from ANN/TF/Numpy format to ArmNN format. * Corrects legacy tests based on incorrect permutation vectors. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I767142378055e484d22f3ffba34580c528370cfe
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-08IVGCVSW-4069 Add ProfilingGuid to Networkjaneil01
!armnn:2232 Signed-off-by: janeil01 <jan.eilers@arm.com> Change-Id: Ib24989dba72a9f9acd1c8017c1f39c3ee74030ea
2019-10-18Github #275 Improved getting ArmNN's version at compile timeMatteo Martincigh
* The version macro is set in the Version.hpp just like before, so parsing it from file is no longer necessary !armnn:2090 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3f8d10bd7b8947f9361e50edf033ea4e93451faf
2019-10-17Move version definition to its own fileMatteo Martincigh
* Move the ArmNN version to a separate ArmnnVersion.txt file * Updated makefiles accordingly !referencetests:206978 !armnn:2089 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I02b838bc71611a866b3f96335e44a33b0167134f
2019-10-02IVGCVSW-3737 Add support for converting DEPTH_TO_SPACEAron Virginas-Tar
* Added ConvertDepthToSpace() to hal_1_0::HalPolicy and hal_1_2::HalPolicy * Implemented ConvertDepthToSpace() template inside ConversionUtils.hpp * Changed unsupported operation from DEPTH_TO_SPACE to HASHTABLE_LOOKUP in GenericLayerTests/GetSupportedOperations Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I12bf73ea721e7b6d49cc4a76000b43a3f274c6f5
2019-08-22IVGCVSW-3613 Add Quantized LSTM test to Android NN DriverEllen Norris-Thompson
Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Change-Id: Ie3c535789186571df9000d75ad2a62ac8c94dcb4
2019-08-22IVGCVSW-3613 Refactoring Android NN driver for QuantisedLstm testEllen Norris-Thompson
* Templated AddPoolAndGetData and AddPoolAndSetData to accept different types * Moved scale and offset to arguments of Add*Operand functions Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Change-Id: Iaf4c2d5f4183ea54799bedae20950b23b914a727
2019-08-07IVGCVSW-3595 Implement the LoadDynamicBackends function in the Runtime classMatteo Martincigh
* Updated the makefiles to include boost::filesystem !armnn:1702 Change-Id: Ibe0a696d9fd473b552602266a89465289e9dc043 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-07-29IVGCVSW-3398 Add LSTM normalization parameters to HAL 1.2Ferran Balaguer
* Adding LSTM processing function in HAL 1.2 with normalization parameters * Refactoring LSTM tests !armnn:1608 Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I0e00f14ef078a333e9f2f23d6278a5d92a3001d6
2019-07-25IVGCVSW-3538 Fix Android driver getCapabilities_1_2() testFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: Idca10ca2d55ae8d5ff95af8bdbbee5492d4a6af3
2019-07-01IVGCVSW-3282 Update getCapabilities_1_2Ferran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I65ae8669d8365bf372fbf0d1eceb48cbe06ef92a
2019-06-26IVGCVSW-3310 Update scripts to download q-fsk versionSadik Armagan
* Updated test/Android.mk file to be consistent with Android.mk * Updated version number in androidnn.go to match with q-fsk Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I847f073d92457d59735b8f9ab14c7404cf5f9515
2019-06-17IVGCVSW-2779 Fix Android Q buildMatteo Martincigh
* Included required functions to the Android Q build by using macro ARMNN_ANDROID_NN_V1_2 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3ea99ba4bebd85f0e8e69c72a90e1a7def4f9b35
2019-06-17IVGCVSW-3283 Add test for converting CONV2D and DEPTHWISE_CONV2D operators ↵Aron Virginas-Tar
with dilation params Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I51a9c71d7a277ab530ac35faea2e8a069c134f45
2019-06-11IVGCVSW-3181 Add HAL 1.2 support to android-nn-driverMike Kelly
* Updated Android.mk to build HAL 1.2 driver * Added 1.2 HalPolicy and ArmnnDriver * Added 1.2 ArmnnPreparedModel * Updated converters and utilities to accept new HAL 1.2 operands and operand types. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I62856deab24e106f72cccce09468db4971756fa6
2019-05-29IVGCVSW-3119 Rename Merger to ConcatJim Flynn
!armnn:1209 Change-Id: Ic493e5cdfe479e459342d7c7c9d77c63f859fa30 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-05-23IVGCVSW-3116 Fix failing NN Driver Tests on Android QKevin May
* Refactor Convolution2d Unit test for fp16Enabled * Disable GpuAcc for Unit tests in Android Q Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I9613eb325841bdf7d25abf51259fe2f5d973c929
2019-05-22IVGCVSW-2911 Add Android Q support to android-nn-driver infrastructureSadik Armagan
* Updated Android.mk to build Android Q * Added androidnn.go to inject cpp flags for Q * Create Runtime when ACL is not enabled Change-Id: Ia3e7a8e484fc81ce63998a65e29753cbf941173c Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Kevin May <kevin.may@arm.com>
2019-05-08IVGCVSW-2911 Android Q compatibility code updatesSadik Armagan
* Updates on test classes. Change-Id: I52e11a1d97d02c23e0a33e4e128dc43a4a95b5bc Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2019-04-25MLCE-117 Handle more cases for implicit flattening of Fully Connected inputMatthew Bentham
Adds new unit test cases, and changes the implementation of FlattenFullyConnectedInput to more closely match the documentation of Android NNAPI. Change-Id: I7ca96b1168b9c7bc78db66f53b0cc776153fd780 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-04-25MLCE-117 Add a unit test for implicit flatten of FC layer inputMatthew Bentham
Change-Id: Ia4dd63927a54aa0cc24d5a378f30189c957f12e8 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-03-15MLCE-91 LSTM doesn't support optional inputKevin May
* 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
2018-11-15IVGCVSW-2092 Port LSTMCell::Eval to ArmNNMatteo Martincigh
* Refactored the LSTM unit tests to avoid unnecessary copies * Added new AddTensorOperand convenience function * Fixed some required arguments in some tests * Added new files to Android.bp !armnn:124 Change-Id: I77ed22f2692d8aa46884b9ee31e48403f7299545
2018-10-25IVGCVSW-2051 Added unit tests in the Android NN Driver for the newMatteo Martincigh
Mean layer * Added unit tests (in a new file test/1.1/Mean.cpp) * Refactored ArmnnDriverImpl to remove redundant tags in the log messages * Modified AddInputOperand to accept a quantized input tensor Change-Id: Ie037ce426777daab28b0501124e1cc8686ad6184
2018-10-25IVGCVSW-2062: Add unit test for TRANSPOSEsaoste01
Change-Id: I12e462c9a0a3613f0158f73929c566f53d1b3c76
2018-10-22IVGCVSW-1998 : fix for missing initialization in the driverDavid Beck
Change-Id: I5b1209a871d0a848bb1fdfba5228f181e6968004
2018-09-18IVGCVSW-1806 More Android NN Driver refactoringMatteo Martincigh
* Changed #if defined to #ifdef * Simplified the Android ML namespace resolution * Fixed the relative path in some include directives Change-Id: I46e46faff98559c8042c1a4b8b82007f462df57d
2018-09-18IVGCVSW-1713 Create a minimum unit test to compare the resultsNikhil Raj
before and after passing the FP16 flag in the Android-nn-driver Change-Id: If8d4ca12421c3bee2526eec98f11d393af822373
2018-09-18IVGCVSW-1807: change license text in file headersDavid Beck
All changes are the same: // // Copyright © 2017 ARM Ltd. All rights reserved. -// See LICENSE file in the project root for full license information. +// SPDX-License-Identifier: MIT // Change-Id: Ibb7ed1e4e2191b9a978e26b5bacf916db403a60e
2018-09-18Fix for building the NN Driver correctly without having to setMatteo Martincigh
ALLOW_MISSING_DEPENDENCIES to true on Android versions that don't provide all the HAL versions supported by the NN Driver Change-Id: I7c828649499ca1d7cb26feb93f559e9f1eae33c7
2018-08-31Release 18.08telsoa01
2018-07-05Release 18.05.02surmeh01
2018-05-23Release 18.05surmeh01
2018-03-29Release 18.03surmeh01
2018-03-09Release 18.02telsoa01
Change-Id: I41a89c149534a7c354a58e2c66a32cba572fc0c1