aboutsummaryrefslogtreecommitdiff
path: root/1.2
AgeCommit message (Collapse)Author
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
2019-11-06IVGCVSW-3841 Add support for per-axis quantizationAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ife7fa63b8839465e8f9f8626f34ca8c0f4d12788
2019-11-01MLCE-143 Fix for reference implementation for service stopping when running CTS.Teresa Charlin
*ConvertDepthwise reports that weights are not supported with the first dimension of the tensor is not 1 *ConvertConcat was missing one case for reporting unsupported inputs. Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I7759ad2fea55d272e98b9eabbf4821dc9ac826e1
2019-10-30IVGCVSW-3805 Add Comparison support to the android-nn-driverAron Virginas-Tar
* Added support for the following HAL1.2 operations: EQUAL, GREATER, GREATER_EQUAL, LESS, LESS_EQUAL and NOT_EQUAL Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I71b68db70232da4aaad28caa7b0b5f9a1d7778d0
2019-10-29Improve logging in hal_1_2::HalPolicy::ConvertResize()Aron Virginas-Tar
* Added resize method (Bilinear or NearestNeighbor) to log * Removed superfluous call to SetTensorInfo() for output slot !armnn:2179 Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I4d1ad0d4c1df67c62c71f79125612b0dffa85455
2019-10-15IVGCVSW-3894 Add support for LOG_SOFTMAX to the HAL 1.2 driverAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I59645b339f3b176e5d0852769acb95f5657101d3
2019-10-09IVGCVSW-3891 Add support for INSTANCE_NORMALIZATION to the HAL1.2 Android driverAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ia4dfbda7aceb4cdfb8f83d49e4df21dedd415b7b
2019-10-04IVGCVSW-3818 Support Group convolution from AndroidTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ie98688175203563ae08019c0c3c876d9c5eae24c
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-09-16IVGCVSW-3663 Add EXPAND_DIMS to the android-nn-driverNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ibf6c53822f728c0e15a9ca1cd2c2ad3593edbd82
2019-09-10IVGCVSW-3832 Implement ConvertRsqt() method in 1.2/HalPolicy.cppAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I1baf88f15c9bdcffd38e910070c97909b7f913b3
2019-09-09IVGCVSW-3746 Add Android NN Driver support for ABSKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Icd32bf6f4d5f58e689b55c1c71b0d028155603c8
2019-09-04IVGCVSW-3660 Add SQRT to the android-nn-driverSadik Armagan
* Implemented Convert() function for SQRT operator * Fixed some typos in HAL 1.2 Policy Change-Id: I1e0bc7a43622c52f053927248ee1a71cb797145e Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
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-19IVGCVSW-3618 Fix VTS/Neural Netwok Test FailuresSadik Armagan
* Added IsReshapeSupported check on available backend(s) after adding Reshape layer. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I38a36d5a3db0d67f0e4b4be2ef672dedb75bff22
2019-08-14IVGCVSW-3633 Refactor HalPolicy to fully support V1.2 modelsMike Kelly
* Templated and moved V1.0 and V1.1 Convert methods to ensure they can work with later versions of models, operations and operands. * The V1.2 HalPolicy no longer converts V1.2 models, operations and operands to earlier versions. * The V1.2 HalPolicy no longer passes operations to the V1.1 or V1.0 HalPolicies for conversion. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I5de59d43a3abb1f8ac0253dc637ad68318960c76
2019-08-13IVGCVSW-3619 Fix GpuAcc NN Test FailuresSadik Armagan
* Fixed TransposedConv2d failures calculateExplicitPaddingTransposeConv expects int32_t. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I6ea9ea2d1ccfd17debcf93ee518287a083815f01
2019-08-06IVGCVSW-3614 Limit support of Softmax to 2D with axis 1 in HAL 1.2Narumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I3ef659c8b87f2c0a3d3ed5d14f74f3b05a9f94b9
2019-08-05IVGCVSW-3340 Add support for Quantized_LSTM to HAL1.2 DriverEllen Norris-Thompson
* Added conversion method to HAL1.2 Policy Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Change-Id: Ida6734d34931148add2f3464c3283191ea34b712
2019-08-02IVGCVSW-3604 Fix TransposeConv2d padding calculationNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Signed-off-by: Aron Virginas-Tar <aron.virginas-tar@arm.com> Change-Id: I5c10ab18343ecf0ebeab24a436e5be2b6c2831c7
2019-07-31IVGCVSW-3601 Fix skipped VTS Concatenate TestsMike Kelly
* Fixed Skipped VTS Concatenate Tests. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I29e7dcdedefc0e9c54f86fa5de23aa714c469585
2019-07-31IVGCVSW-3586 Fix Skipped Space_To_Batch Hal 1.2 VTS FailuresFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9d0d0a75d54c25075d8d87c6265e350486157f5c
2019-07-31IVGCVSW-3166 Rename ConvertTransposeConvolution2d() to ConvertTransposeConv2d()Aron Virginas-Tar
* Renamed to be consistent with ConvertConv2d() and ConvertDepthwiseConv2d() Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Iaa872498e32129178bc3971cabf7f43bdb9962af
2019-07-30IVGCVSW-3583 Fix Skipped Batch_To_Space Hal 1.2 TestsFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I3f2928ba86a9d306a7eb400db3a420e42cf3fa7e
2019-07-30IVGCVSW-3594 Add LSTM Dynamic output tensors checkFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I7c0d704b53caeac3a950c6957c4cab11686f6793
2019-07-30IVGCVSW-3166 Add support for TransposeConv2D to 1.2 HalPolicyDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I7b855efaddb18e8f184f4b85196b3b95b69bca6e
2019-07-30IVGCVSW-3592 Add Support for Quantize to HAL 1.2 DriverSadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ie7421078b2bdd16d7ac67b635953b34721e8c8fe
2019-07-30IVGCVSW-3591 Fixed unexpectedly skipped SUB testsMike Kelly
* A model that has Inputs with different quantized scales is not compliant with 1.1 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ifb8277d78f05b5ef017effa879322a08c0efc851
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-29IVGCVSW-3582 Fix Skipped Pooling Hal 1.2 TestsSadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9f9d11b19de591ec8936822ca229b4090ed318fe