aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-03Add flow to exclude libOpenCL when building AndroidnNNalered01
When building AndroidNN for a commercial silicon device, there's no need to include libOpenCL as we should be able to use the one already on the device Change-Id: I5ef5776010399dd2d2d48958465daf4b71e4f825 Signed-off-by: alered01 <Alex.Redshaw@arm.com>
2020-04-03IVGCVSW-4641 Investigate Hal 1.3 VTS FailuresSadik Armagan
* Return correct error status for executeFenced function Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I25c41f064ac5cc233561cbd2b6547c02053b33da
2020-04-01IVGCVSW-4441 Add Support for ANEURALNETWORKS_ELU to HAL 1.3 DriverSadik Armagan
* Read alpha parameter for ELU operation * Created ConvertionUtils_1_3 for 1.3 Driver * Added QAsymmS8 data type support to swizzle the tensor Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9d66a4e8d5468efa305bb8f6c352f13d27602274
2020-03-31IVGCVSW-4640 Fix HAL 1.3 build issues from update of AOSP masterKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I19dd23f938f571f3f63bb1e070d27d27cbe65c1a
2020-03-31IVGCVSW-4407 HAL 1.3 Operators SupportSadik Armagan
* IVGCVSW-4441 Add Support for ANEURALNETWORKS_ELU * IVGCVSW-4443 Add Support for ANEURALNETWORKS_HARD_SWISH * IVGCVSW-4448 Add TENSOR_QUANT8_ASYMM_SIGNED data type support Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Idb9bb3f463b956221711423c15b6557eeb1af7db
2020-03-30Downloading boost from sourceforge instead of boostorgNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I7da8fdf2afef8382f1544ebda5aeb40cef8608e2
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-18Less code duplication in HAL 1.2Derek Lamberti
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: Ic2e8964745a4323efb1e06d466c0699f17a70c55
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-09MLCE-149 Build problemsMike Kelly
* Updated FAQ to better explain how to resolve build problems due to missing or mismatched versions of boost, clframework and armnn Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I115e075e9160d01d400cc53fc4d3f7fc788f3b50
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-28IVGCVSW-4375 Add driver support for TransposeMike Kelly
* Changed ConvertTranspose to use Transpose instead of Permute * Removed unused code related to permutation !armnn:2787 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ie59ca80203109bd6bb2abcdedc5ac53c2b2eb157
2020-02-28IVGCVSW-4525 Adding TPIP comments to sourceJan Eilers
Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I4cd521f01172889966e64d03cdf899a355bd39d3
2020-02-26Update IntegratorGuide.md fileNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I901b8529f0bdfa281348853ad8ea944d2bcf01b9
2020-02-21IVGCVSW-4471 ValidationTestIntrospection.DeviceGetType fails in Q NN testsSadik Armagan
* Throw an exception if there is no known backend specified for the driver Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I8b0be33c0a8786b493ac1f8c17573853db8e8218
2020-02-20IVGCVSW-4375 Fixed driver crashesMike Kelly
* Fixed driver crashes caused by ignoring the result of GetTensorInt32Values. * Fixed driver crashes where padding, axis, permutation dimension or block size operands were inputs. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I59867e9545a240e6be46b7f68da6adaa120a56d8
2020-02-20IVGCVSW-4432 Update Readme for 20.02Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Iac553b5b6b3890a13aa617bc64cbe626967e6d2b
2020-02-19IVGCVSW-4430 Update NNAPISupport.txt for 20.02Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: If475b0448a1adaa7c08cbdaa5efed1e0eae3c89a
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-02-10IVGCVSW-3987 Add armnn::Exception warning and std::exception errorKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I4963fb4d44501287e161f7366f38557962d06cac
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-31IVGCVSW-4388 Update ACL pinTeresa Charlin
* Update Android.bp file with new created files. !armnn:2672 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ic56c041018073679c10074ea4c5e95eb7525a631
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-28IVGCVSW-4360 Update ACL pinSadik Armagan
* Update Android.bp file with new created files. !armnn:2612 Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Idedc9cc3f4bbdb99c29cd1ba0f355aae870fe2e5
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-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
2020-01-23IVGCVSW-4266 Dump float16 input/output tensorsJim Flynn
Change-Id: Iff91ce6857a9f96a7af65f79883c1cbe59a15dd2 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-01-23IVGCVSW-4370 Remove use of deprecated per-axis typeDerek Lamberti
!armnn:2620 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I8d71bac981a7576c7f51783833f76151495c62c0
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>
2020-01-13Rename quantized data typesDerek Lamberti
!armnn:2571 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I06977553a097479a2a996e76a106249673d31ed7
2020-01-09IVGCVSW-4315 Fix Fully Connected infer output shape bugFinnWilliamsArm
Change-Id: If4fd1abdedf7de2046435d418fb1ee95ceb73419 Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com>
2020-01-07IVGCVSW-4192 Add DEQUANTIZE to the android-nn-driverKeith Davis
* Support for QSymm8 in ConversionUtils.hpp Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I39c654e7a3821ffe74336a13bf0b922686f337d1
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-12-06IVGCVSW-4211 Rename QuantisedSymm8 to QSymmS8experimental/resizeCheckFinnWilliamsArm
!armnn:2421 Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com> Change-Id: I30da5235f6610306f9300b4532cf2c79ee8789f8
2019-12-06IVGCVSW-4225 Reject dynamic tensors to TRANSPOSEMatthew Bentham
Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com> Change-Id: I1038d4f3c73d4e306161459784a0abf20d7e507d
2019-12-05IVGCVSW-4041 Adding Instance Normalization issue to FAQMike Kelly
* Added note to explain Instance Normalization failures to the FAQ. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ie1361ece06c6f10d6faac2dd6e480393ab1b2f77
2019-12-05MLCE-149 Failure to build armnn 19.08 obtained from githubMike Kelly
* Updated FAQ to include instructions on resolving version incompatibilities between android-nn-driver, armnn and clframework. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I5f358d7241b9120c6896b8b8b38c89246e6573b1
2019-12-02IVGCVSW-4209 Remove the Half.hpp header usage from the driverMatteo Martincigh
* Removed the inclusion of the Half.hpp header from the Android NN Driver, as it's a private header not part of the now public armnnUtils API * Refactored the code not to use that header Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I0feeb86ccb31e016395e623029974f599a174149
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-27MLCE-115 Remove redundant support checking for PermuteMatthew Bentham
This should all be done in the LayerSupport mechanism in Arm NN now. Change-Id: Icbbb1be2efad2ababf8bdd5543f3e5a06958dccd Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
2019-11-27IVGCVSW-4204 Review NNAPISupport.txt for 19.11Teresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I56959a6fd296781d4604c55179471299c321153e
2019-11-25MLCE-144 Fix 2d pooling convert functionFinnWilliamsArm
Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com> Change-Id: I999d9091bc4046861433d4eb3109fe972611bd82
2019-11-25Refactor DequantizeIfRequired()Aron Virginas-Tar
* Added DequantizeStatus enum to capture the status of the dequantization process * Added alias DequantizeResult for the return tuple * Renamed instances of Operand, Operation and Model template variables to HalOperand, HalOperation and HalModel for consistency across ConversionUtils Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I2d5cf0dd9f9baba95684bb0b9fe20e63c0f377a3
2019-11-21Add FAQ for android-nn-driver, refactor READMEMatthew Bentham
Change-Id: I118cfe12e24b689539c634625910fb007cc436b6