aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-01-15IVGCVSW-3879 Fix output shape inference formula for TransposeConvolution2dAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I766f4297b9daa26edacc2079fe62a083ba2fa68f
2020-01-13IVGCVSW-4329 Adding SignedInt32 to ReshapeQueueDescriptorDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I676abc593648f67b73608334e83a727782e04b88
2019-12-19IVGCVSW-4302 Depthwise CTS. Fix ReorderWeightChannelsForAcl.Teresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I8d2050f4478fe9d9cdf9e374b8906827cc769689
2019-12-17IVGCVSW-4293 Fix multiple Concat issues.Derek Lamberti
* Fix issue with InputLayer or ConstantLayer being used as inputs to Concat. * Fix issue with same input being used multiple times for same Concat. * Fix issue where input is used by multiple concats. Change-Id: Id4819aeec5a40e2afa0351838ba082b9f74aba33 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2019-12-12IVGCVSW-4268 Print all Descriptors on dot graphJim Flynn
Change-Id: I82a7dcffc3771efa8350e2e1e22cfb20969551f9 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-12-12IVGCVSW-4262 Use ACL Permute and Reshape Validate function in Neon and CLKevin May
!android-nn-driver:2465 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ibabb73c0ae0df2e530a68398f75c76e6b80c0701
2019-12-12IVGCVSW-4267 Add missing layers to GetLayerTypeAsCStringJim Flynn
Change-Id: I8c017a5222ca58a6fae6e2fae9c483d29a5cc76d Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-12-11IVGCVSW-4255 Patch QuantisedSymm8 into 19.08Jim Flynn
Change-Id: Ic727717a1351043ebdac2f370cd1f3ae4cd8bb3e Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-12-11MLCE-143 Fixed driver crash during CTS testsMike Kelly
MLCE-144 Fix cts MAX_POOL_2D_V1_0 tests * Only apply the Optimization when the base ReshapeLayer is connected to the child ReshapeLayer and no other Layer. Signed-off-by: Finn Williams <Finn.Williams@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Id1215e8b1c06d7bdb77905fec9649a8ec26436f0
2019-12-11IVGCVSW-4254 Patch Strided Slice CTS failuresJim Flynn
Change-Id: Idc7e95f20b1fceb2135db4960877671c155b2f4b Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-08-29IVGCVSW-3656 Fix wrong rename of the reference backend control macroMatteo Martincigh
* Renamed ARMNN_COMPUTE_REF_ENABLED to ARMNN_REF_ENABLED in the Android makefiles Change-Id: I12af2ca00c719568274585482d428b035674737c 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 !android-nn-driver:1822 Change-Id: I912e9f521750b91539e48f8a2fb4de73fb6f7425 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-27IVGCVSW-3277 Fix RequiresCopy in case a tensor handle factory is not availableMatteo Martincigh
* Added null checks prior of using either the source or the destination handle factory when checking if the tensor requires to be copied Change-Id: Icc6737562849be5e7d1a62243327366e06312eb9 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-27IVGCVSW-3507 Removed partially supported networksMike Kelly
* FCRN and FSRCNN aren't supported on all backends yet. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ibaddfba731224aac24de05c225fb94efd3fe7f94
2019-08-26IVGCVSW-3575 Fix DepthwiseConvolution VTS Test FailuresKevin May
Failing VTS tests were "NeuralnetworksHidlTest.depthwise_conv2d_*" In depthwise convolution there was a difference in weight tensor channel order between the reference and ACL implementations. This specifically related to NCHW. This commit: * Adds ReorderWeightChannelsForAcl to WorkloadUtils which will correct the weight tensor channel order. * Add unit tests to detect this problem. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Icaeac08e14b3d5da9e222ad2f118db55ebb15d09
2019-08-23IVGCVSW-3427 Create PacketVersionResolver classAron Virginas-Tar
* Create first version of PacketVersionResolver class * Add basic unit test * Move existing classes inside the armnn::profiling namespace * Add utility methods for Version Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: If0ea0e1b9dea7fbfcd8b808e97b1e2aa91964dfa
2019-08-23Fix Windows build:Rob Hughes
* CMake "install" commands require a RUNTIME argument for platforms with DLLs (e.g. Windows). * Replace use of non-standard variable length array with vector * Remove unnecessary #include of unistd.h * Add #ifdefs to dynamic backend code to disable for non-Unix platforms where you can't use dlopen etc. We could implement this properly for Windows later using LoadLibrary etc., but for now erroring is fine. * Add missing #include of <algorithm> Change-Id: Ic8ef5fd599b37bf8772510157b6e479819f6a1eb
2019-08-22IVGCVSW-3670 Fix Vts Tests after adding Ref Import functionalityFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I87d003ae14575d7d7be67b2a7d00d69ef6201849
2019-08-22IVGCVSW-3656 Make the reference backend optionalMatteo Martincigh
* Made the build of the reference backend depend on a new ARMCOMPUTEREF macro * Made the relevant targets dependent on the ref backend * Moved Cl and Neon static registry initializers to separate files * Wrapped some of the unit tests into proper ifdefs where necessary Change-Id: I7f2c42699682630233a4c4b6aed2f005083de189 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-22IVGCVSW-3668 Fix Android issue running Ref Import testsFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I64f82c0e3c5cddcaebe0d5001020880a759ec444
2019-08-22IVGCVSW-3671 Fix validation error msg WorkloadData.cppJames Conroy
Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Ibfd5a81b2dbf9eeef49f6209885798804adee5a4
2019-08-21IVGCVSW-3507 Fix error in list of tested networks for Tf and TfLite parsersAron Virginas-Tar
* Move DeepSpeaker, FCRN and FSRCNN from TensorFlowSupport.md to TensorFlowLiteSupport.md Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I82d508d3599073eb8f6638994a91f46b4b95c247
2019-08-21IVGCVSW-3507 Revise and update readmes for 19.08Aron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I3da43122240fda7864e0932d47b3efeea8bbed40
2019-08-21IVGCVSW-3650 Fix Transpose Convolution inputs in TfLite parserMatthew Jackson
* Reordered and edited inputs in ParseTransposeConv method * Updated test cases to reflect changes Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: Icd090cf6ab340eed4f098ef8641daf7c6e0d0949
2019-08-21IVGCVSW-3661 Add multi-channel TransposeConvolution2d unit tests to NEON backendAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I9d19ae4559a98b9e740c1d4d05add0c5788093d6
2019-08-21IVGCVSW-3642 Fixed VTS Test FailuresMike Kelly
* Fixed Quant8 VTS test failures where an output value should have been greater than 255 before a negative bias was applied. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ie0084c1c8c4a4b5f069112d523765ed338277e58
2019-08-20IVGCVSW-3163 Support Neon TransposeConv2dSadik Armagan
* NEON support for TransposeConolution2d * Indentation fix on SpaceToDepth LayerSupport method Signed-off-by: Keith Davis <keith.davis@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Aron Virginas-Tar <aron.virginas-tar@arm.com> Change-Id: Ie3a01a22e05f62f475f768dfe05ce561d2f3b0ad
2019-08-20IVGCVSW-3606 Support memory import for Reference backendFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I94bd191f88e0911ad4e4727610e81cd7afa95512
2019-08-20IVGCVSW-3640 Add multi-channel TransposeConvolution2d unit tests to CL backendAron Virginas-Tar
* Fixed bug in multi-channel test and reference workload implementation * Enabled multi-channel tests on CL backend Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I08bb523bc68d9c93a1012b4f487a5bce36a085b1
2019-08-20IVGCVSW-3650 Add TfLite Parser support for Transpose Convolution layerMatthew Jackson
* Added ParseTransposeConv to TfLite Parser * New TransposeConv test file * Updated documentation for supported Transpose Convolution Change-Id: Id7356d8525556805c164af693ae2b16f6a8492fa Signed-off-by: Matthew Jackson <matthew.jackson@arm.com>
2019-08-20IVGCVSW-3617 Add CL TensorHandleFactoryJan Eilers
* Adds ClTensorHandleFactory * Includes some refactoring of NeonTensorHandleFactory Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I9f0874b1945050267c5ece970e6d9b200ed8a865
2019-08-19IVGCVSW-3545 Update the device specs with the dynamic backend idsMatteo Martincigh
* Now the utility function RegisterDynamicBackends returns a list of the backend ids that have been registered * The list of registered ids is added to the list of supported backends in the Runtime * Added unit tests Change-Id: I97bbe1f680920358f5baba5a4666e4983b849cac Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-19IVGCVSW-3653 Fix memory initialization bug in TransposeConvolution2dTestImplAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Idebe0c3f956ccac39ef8bf139d693b76e839af7a
2019-08-19IVGCVSW-3429 Add a utility Version classNikhil Raj
Change-Id: Id429f7d9176c775953c1261c5a3e9f1d565927c1 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2019-08-16IVGCVSW-3550 Create Command Handler RegistryFrancis Murtagh
Change-Id: I51e34068d79ba660ae2f16b22ad2bb8191d473fa Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-08-16IVGCVSW-3620 Fix Hal 1.2 Softmax test failures on GpuAcc and CpuAccColm Donelan
The following NeuralNetworkTests tests were failing on GpuAcc and CpuAcc: GeneratedTests.softmax_v1_2_relaxed GeneratedTests.softmax_v1_2_quant8 GeneratedTests.softmax_v1_2_2 GeneratedTests.softmax_v1_2_relaxed_2 GeneratedTests.softmax_v1_2_quant8_2 The default value for Softmax axis parameter in Android is -1 but is 1 in ACL. Detect and handle this in ArmComputeUtils.ComputeSoftmaxAclAxis. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Ibb0660e4cb0dc6bd4c804c4397fbd61f38acdd9c
2019-08-16IVGCVSW-3639 Add 5d tensor supportMatthew Jackson
* Increased MaxNumOfTensorDimensions and fixed issues related to its use * Fixed issues caused by assuming 5d tensors are invalid * Updated ArmComputeTensorUtils for 5d tensors * Added 5d tensor unit tests for add, mul, stack and reshape (needed by IVGCVSW-3527) Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I5bcd64942d0d04efcc6c5acb240ad4b88e010743
2019-08-16IVGCVSW-3425 Create the Command Handler Functor base classFrancis Murtagh
Change-Id: I59ac9b32ac594161bdc5e1de2cdee02d79fc1992 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-08-15IVGCVSW-3415 Create the Packet ClassNikhil Raj
Change-Id: Ie59e82e7f87f5ba6496aa8579bc9d40360d90999 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2019-08-14IVGCVSW-3622 Add Neon TensorHandleFactoryNarumol Prangnawarat
Signed-off-by: James Conroy <james.conroy@arm.com> Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9f24f7d97c1e7d37ee7d58ff85c6c3f8496e52ec
2019-08-14IVGCVSW-3633 Fixed possible driver crashMike Kelly
* Fixed possible driver crash due to supportedTypes arrays with the wrong size. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I52702b84089d02d3c63ff7aa5923a9f5628bec91
2019-08-14IVGCVSW-3636 Fix Graph and WorkloaData to support backend Import functionalityFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I634aa3b1d609ca33b196fd68ce7fb7881be73e6e
2019-08-14MLCE-126 Delete unused Protobuf header importJames Conroy
* Removed wire_format_lite_inl.h header import as it is not used by ArmNN. * In Protobuf==3.8.0, the contents of this header are in wire_format_lite.h. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Ie3d80f49e79aedf4932a0a090635b541a11ba0f9
2019-08-14IVGCVSW-3610 Remove unused leftover variable from TransposeConvolution2dImplAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I496f95ab464f3a38e0601799a6ff6ba5ffe3a776
2019-08-14IVGCVSW-3474 Refactor Lstm and QuantizedLstm Param GettersFrancis Murtagh
* Change Getter Signatures to follow coding guidelines Change-Id: Ic02621e834dbf79b9df63f8b4c6339f71651e944 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-08-14IVGCVSW-3546 Extend the backend docsMatteo Martincigh
* Mentioned the TestDynamicBackend source files * Added the RefDynamicBackend example Change-Id: I395c9f6c3107a5a5b16f658327d6048ff2ae68d8 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-08-14IVGCVSW-3416 Create Command Handler Key classFrancis Murtagh
* Add CommandHandlerKey class with all comparison operators * Add UnitTests to check key sorting in collection Change-Id: Icbd493d1e51e681cbe22a9e70ab9428a8a2ad107 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-08-13IVGCVSW-3635 Remove temporary check from ↵Aron Virginas-Tar
RefLayerSupport::IsTransposeConvolution2dSupported() Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I85a9563e2d12a5eb9dbcac1b70563a303905b67b
2019-08-13IVGCVSW-3616 Add multi-channel unit test for TransposeConvolution2dAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ib9271920b39fb9d730006c79a322e32008096b56
2019-08-13IVGCVSW-3615 Update Transpose Convolution algorithmMike Kelly
* Now supports channel multiplier != 1 in Ref TransposeConvolution2d Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ice95444025311b8b952c8f7f5fa0f1ecf483df41