aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-15IVGCVSW-4241 Reenabling support for NCHW.v19.08.1branches/android-nn-driver_19_08Mike Kelly
* Reenabling support for NCHW for Convolution, Pooling and Resize. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I6ceb1ab0983e19d200ba353b0017b0f0cd1628e0
2020-01-15IVGCVSW-4315 Fix Fully Connected infer output shape bugFinnWilliamsArm
Change-Id: If4fd1abdedf7de2046435d418fb1ee95ceb73419 Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com>
2020-01-07IVGCVSW-4321 Re-enable NCHW on SpacetoDepthTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I07c9ca1247ee823ed6411fb5a7df9245c1330c7c
2019-12-20Revert "IVGCVSW-4305 - Re-enable NCHW on Pooling2D"Kevin May
This reverts commit b3680df4298a2f4d4ef8b637f35c3bc343b05339. Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Iad15bb7360817eb91428681c05cfb065e317b4d0
2019-12-19IVGCVSW-4305 - Re-enable NCHW on Pooling2DKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I85ed84b818c15f402b220f223fb9e728e08dceed
2019-12-19IVGCVSW-4301 Correctly validate reshape for broadcastable inputsDerek Lamberti
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: I4db6ea4ed0a192c85f124c4a9ced60b1666a3870
2019-12-19IVGCVSW-4303 Re-enable NCHW on Depthwise ConvolutionKevin May
* Also re-enable NCHW on BatchToSpace, SpaceToBatch and Transpose Conv Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I386eb3d852978e7cc611efad4f9f0c982140865a
2019-12-17IVGCVSW-4241 Enable L2_POOL_2D in Hal 1.2Pablo Tello
Change-Id: Ib2a057d63a0722d90191ae69af2751cd03c33910 Signed-off-by: Pablo Tello <pablo.tello@arm.com>
2019-12-17MLCE-144 Resolve CTS failuresMike Kelly
* Re-enabled Float16 * Re-enabled Concatenation Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I03bbe978947d5282d50daa2ed9795d042dc93cb0
2019-12-16IVGCVSW-4271 Add getSupportedOperations marker fileJim Flynn
* Also fix segfault in previous graph dump code Change-Id: I01915f47ae17d89ad3595430d073a17b1a1fda58 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-12-13IVGCVSW-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>
2019-12-13IVGCVSW-4241 Resolve CTS test failuresMike Kelly
* Disable Concatenation and L2_POOL_2D in Hal 1.2 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ib3ac6702eb3e10d51be430c1c644c0e6398ee875
2019-12-13MLCE-144 Disabling NCHW and Float16Mike Kelly
* Disabled support for NCHW * Disabled support for Float16 Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I0f5ee8a8ddda1edc7800f167d6a82e4a15c6069b
2019-12-12IVGCVSW-4262 Add Calls to IsReshapeSupported and IsPermuteSupportedKevin May
!armnn:2466 * 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
2019-12-12IVGCVSW-4266 Dump float16 input/output tensorsJim Flynn
Change-Id: Iff91ce6857a9f96a7af65f79883c1cbe59a15dd2 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-12-11Catch std::exception instead of armnn::ExceptionMike Kelly
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> MLCE-143 Fix for reference implementation for service stopping when running CTS. *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> MLCE-144 Cts NNAPI test cases failed * Fixed numerous CTS/VTS failures related to Quantization !armnn:2457 Signed-off-by: Mike Kelly <mike.kelly@arm.com> MLCE-144 Fix 2d pooling convert function Signed-off-by: FinnWilliamsArm <Finn.Williams@Arm.com> Change-Id: I054635ebfd52cb5575490c3bfaae0104eb1685cc
2019-08-30IVGCVSW-3507 Remove unsupported operation sectionsv19.08Mike Kelly
* Removed unsupported operation sections Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I79216c5c015efeb5d2e19cd85f186c2f73bd1ca8
2019-08-29IVGCVSW-3656 Undo wrong rename of the backend control macrosMatteo Martincigh
* Renamed the cl/neon backend macros to their original values, as they were renamed by mistake * Reverted misleading comment * Updated the readme file !armnn:1838 Change-Id: I49faabae2c8ad196f51eca5f8dd049ecf74b36e1 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-28IVGCVSW-3656 Rename ARMCOMPUTEREF to ARMNNREFMatteo Martincigh
* Renamed ARMCOMPUTEREF to ARMNNREF (and relative symbols) as the previous name was misleading Change-Id: Ia0400a7d63a76c80fb5bdd26410553db1c15cba0 Signed-off-by: Matteo Martincigh <matteo.martincigh@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-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-21IVGCVSW-3512 Update NNAPISupport.txt for 19.08Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ie222e046f2fe832ad48d4b2279c8815f860f76d5
2019-08-20IVGCVSW-3656 Make the reference backend optionalMatteo Martincigh
* Added ARMNN_COMPUTE_REF_ENABLED to programmatically build the reference backend * Adjusted the makefiles to allow any backend combination to build * Refactoring where necessary Change-Id: I04cf23245971fcd460b776dd60e01cacb0458dab Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
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-15IVGCVSW-3643 Fix Ref Normalization failuresMike Kelly
* Added check for unsupported optional parameters for L2Normalization and LocalResponseNormalization to skip the related tests rather than fail them. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ia17be706b14b2e2faf8eb5a0ec335c2e3863bf16
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-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-08-07IVGCVSW-3540 Fixed PReLU Being SkippedMike Kelly
* PReLU layers were being skipped due to logic error. Resubmitting due to accidental reversion. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I6aeed11519d19ba7ec8b4993694e414f58799028
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-05IVGCVSW-3340 Add Neon and Cl LSTMLayerQuantized to Android.bpNarumol Prangnawarat
Change-Id: I6829921c08898865ce61ea1ae32eebdfe4a5c98c Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
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-08-02IVGCVSW-3577 Update ACL pin to include NEON convolution output multiplier fixAron Virginas-Tar
!armnn:1679 Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I09e75e8182d647bd16b25a815812ca2b03ad7614
2019-08-01Fix explanatory comment around SanitizeBiasQuantizationScale()Aron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I92700da149a800f1d8215e964d1e67056628f067
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-31IVGCVSW-3583 Correct data layout index for ConvertBatchToSpaceNdFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ibd683c147b6f2fb966a8f90105c9213880100cf8
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-3593 Remove HAL1.2-specific code from HAL1.0 ConvertConv2d() and ↵Aron Virginas-Tar
ConvertDepthwiseConv2d() * Removed code for reading data layout flag (only available in HAL1.2) * Removed code for reading dilation parameters (only available in HAL1.2) * Added more restrictive input size checks (== instead of >=, as none of the inputs are optional in HAL1.0/1.1) * Removed superfluous input size validation from 1.0/HalPolicy.cpp Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I8387120b9abcc8458f7fac6df577cb6453051be3
2019-07-29IVGCVSW-3540 Fixed PReLU Being SkippedMike Kelly
* PReLU layers were being skipped due to logic error. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ic0ec707da784b44d72958dee02901b0173b25e5c
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-3578 Report dynamic output unsupported for further operations in ↵Aron Virginas-Tar
hal_1_0::HalPolicy * LocalResponseNormalization * Mul * SpaceToDepth * ResizeBilinear Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ie52dd7b274d721f0ca715ad92277e12e4c2b1913
2019-07-29IVGCVSW-3582 Fix Skipped Pooling Hal 1.2 TestsSadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9f9d11b19de591ec8936822ca229b4090ed318fe
2019-07-26IVGCVSW-3578 Do not attempt to infer dynamic output shapesAron Virginas-Tar
* Report dynamic output tensors as unsupported for all operations, regardless of HAL level Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I2341dc96be965886666b75515e9a226d813a1591