aboutsummaryrefslogtreecommitdiff
path: root/src/backends/test
AgeCommit message (Collapse)Author
2018-11-02IVGCVSW-1946: Remove armnn/src from the include pathsAron Virginas-Tar
Change-Id: I663a0a0fccb43ee960ec070121a59df9db0bb04e
2018-11-02IVGCVSW-2093 Add SpaceToBatchNd layer and corresponding no-op factory ↵Nattapat Chaimanowong
implementations Change-Id: Ibd457f3a2d4342c4d6335bd3c471282a14ab6b14
2018-11-01IVGCVSW-2103: Add 2-Channel unit tests ResizeBilinearJames Conroy
* Modifies ResizeBilinear unit tests to use 2-Channel tensor shapes for input and output data, to improve test coverage when exercising NHWC data layout. * Refactors unit tests to permute input and output data when exercising NHWC data layout. Change-Id: Ib7fb438cac23e78ff0104c895c3b7596bf7c3aa7
2018-11-01IVGCVSW-2074: Updated the DepthwiseConvolution2dDepthMul1 for NHWCjimfly01
Change-Id: Ibaa0b909680a6f2a155e4ca6fa24e1144d6e6e73
2018-11-01IVGCVSW-2074: Updated CompareDepthwiseConvolution2dTest for NHWCjimfly01
Change-Id: Ib0568024b4f43ae17e6c75ac35d31cf103ce3482
2018-10-31IVGCVSW-2102: Fix Pooling2D CpuRef indexing bugJames Conroy
* Fixes bug when calcuating indexes for NHWC in Pooling2D CpuRef implementation, it now uses TensorBufferArrayView. * Adds 2-Channel unit tests for Pooling2d on CpuRef, Cl and Neon. The single channel tests were not properly exercising Pooling2d using NHWC data layout. * Refactors Pooling2D NHWC tests so that the input and output data are permuted to NHWC when necessary, instead of hard coding the data in NHWC format. Change-Id: I5b9d41ed425ff283ea8c8ef6b1266ae0bc80f43b
2018-10-30IVGCVSW-2074: Updated the DepthwiseConvolution2dTest for NHWCjimfly01
Change-Id: If2befd3bd75da70c57f924cbe18fa0a47bf7a27f
2018-10-29IVGCVSW-2074: Updated DepthwiseConvolution2dAsymmetricTest for NHWCjimfly01
Change-Id: I1bc8d2f270d4abfaa62e4843b8d96bcf462c6b09
2018-10-26IVGCVSW-2069 - Implement NHWC Convolution2D for CpuRefnarpra01
* Calculate index for NHWC to compute Convolution * add more unit test for NHWC Change-Id: I800d649b9b42be2758c445e3b3e76142888c1377
2018-10-26IVGCVSW-2081: Move generic backend tests to the backend related CMake filesAron Virginas-Tar
Change-Id: Ib642b0c983fed21cf38be8233bd13d86f4bf413d
2018-10-26IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackendDavid Beck
Change-Id: Ice19d3f763298bc14585267df389e99df846320d
2018-10-26IVGCVSW-2074: SimpleConvolution2dTestImpl updated for NHWCjimfly01
* Added a defaulted DataLayoutIndexed argument to the SimpleConvolution2dTestImpl * Permute test data tensors just before use if necessary * Add DataLayout to descriptor * Added a DataLayoutIndexed argument to SimpleConvolution2d3x5TestCommon * Added NHWC versions of the SimpleConvolution2d3x5Test for Neon and CL Change-Id: I10e3ece42a50108baeabe4d8b0f0ac3e6d532261
2018-10-25IVGCVSW-2049 + IVGCVSW-2051 Create the CL Mean Float workload and addMatteo Martincigh
the unit tests * Created the ClFloatWorkload class * Added ClMeanValidate validation function * Added helper function to convert the reduction axes from the ArmNN format to ACL's * Added workload tests * Added some unit tests * These changes need the CL pin to be pointing at least to revision 88d871028eeae57f9e4536d0329110eccb5e2890 (COMPMID-1574 Implement ReduceMean in OpenCL) !android-nn-driver:155033 Change-Id: I694fd36be0458c90e158172afde045fcc88c32ae
2018-10-25IVGCVSW-2073: Move remaining backend-specific tests from armnn to backendsAron Virginas-Tar
Change-Id: I45fd5b6dd32c435b78a54dc377a623e60978ce13
2018-10-25IVGCVSW-2071 : remove GetCompute() from the WorkloadFactory interfaceDavid Beck
Change-Id: I44a9d26d1a5d876d381aee4c6450af62811d0dbb
2018-10-25IVGCVSW-2067 : dynamically create workload factories based on the backends ↵David Beck
in the network Change-Id: Ide594db8c79ff67642721d8bad47624b88621fbd
2018-10-22IVGCVSW-2060: Separate and move backend specific unit tests from the ↵Aron Virginas-Tar
src/armnn/test folder to the backends * Moved backend-specific memory leak checking tests from RuntimeTests.cpp to the corresponding backend test folder Change-Id: I0a7f4ef52c5350c3cebca23b2b4e61a9446ca11f
2018-10-22IVGCVSW-2024: Support NHWC for Pooling2D CpuRefJames Conroy
* Adds implementation to plumb DataLayout parameter for Pooling2D on CpuRef. * Adds unit tests to execute Pooling2D on CpuRef using NHWC data layout. * Refactors original tests to use DataLayoutIndexed and removes duplicate code. Change-Id: Ife7e0861a886cf58a2042e5be20e5b27af4528c9
2018-10-22IVGCVSW-2013 Add a UInt8 Reference Implementation for the PAD OperatorMohamed Nour Abouelseoud
Change-Id: I41f3606198db1fda8d72aaf5169594ba9156eb38
2018-10-22IVGCVSW-2023 CL and Neon implementation of BatchNorm with NHWCNikhil Raj
Change-Id: I962e986607e5d045cd97b9eaeaea2f5ae624db35
2018-10-22IVGCVSW-2005: Pull in backend specific unit tests into Android.mk similarly ↵Aron Virginas-Tar
as backend sources Change-Id: Icafc644b64c591f4dc0e1560d02b806bf053a2da
2018-10-22IVGCVSW-2037 : separate registry for layer support intrefacesDavid Beck
* because their lifetime is different from backends Change-Id: I9ba525e7e503b148cde1294933f3954b8bad3d68
2018-10-22IVGCVSW-2032 + IVGCVSW-2033 Add NHWC implementation to the referenceMatteo Martincigh
Normalization workload * Enabled NHWC support in RefNormalizationFloat32Workload for Across normalization * Added unit test for the reference implementation Change-Id: I0e1f319e76491d43b83b121c273fadb5b259d1a0
2018-10-22IVGCVSW-2038 + IVGCVSW-2039 + IVGCVSW-2040 Add NHWC support to the Float32 ↵Matteo Martincigh
and UInt8 BatchNormalization workloads * Enabled NHWC support in RefBatchNormalizationFloat32Workload * Added NHWC unit tests for both FP32 and U8 * Refactored the existing unit tests Change-Id: I6aa18f1dcc0666b80a17a7ed229cf53607bae147
2018-10-22IVGCVSW-2022 : fix for backend cmake files to respect BUILD_UNIT_TESTS variableDavid Beck
Change-Id: I8d34419742152edd50f1ec438e32d3ccc4f38351
2018-10-22Restored test that was commented out when working on LSTMMatteo Martincigh
Change-Id: I161a832e4e53cf014a3d57784bd2f0bffbd633b5
2018-10-22IVGCVSW-1885 add RefPadWorkload implementation and associated unit testsMohamed Nour Abouelseoud
* Added RefPadWorkload implementation * Added unit tests and applied them to CL and Ref backends * Fixed a bug in ClPadWorkload Change-Id: I8cb76bc9d60ae8a39b08d40f05d628e3b72f6410
2018-10-22IVGCVSW-1938: Move backend-specific source files to the corresponding backendAron Virginas-Tar
Change-Id: I558a9a007604afc55e536d877f8da7d0215cc9c3
2018-10-22MLCE-51 MaxPool + Add Unit testÉanna Ó Catháin
Change-Id: Id1619ce72a862841439b68e51113febfb0e38fcc
2018-10-22IVGCVSW-1922 Unit test for DepthwiseConvolution with NHWCNikhil Raj
Change-Id: I3e6e5b9a62f30d03c05bd7178adea8f4c8275da8
2018-10-22IVGCVSW-2000: (Fix) Backend-specific unit tests not being executedMatteo Martincigh
* Also disabled the Compute_ArmComputeCl/L2Normalization1dNhwc test as it fails due to a bug in ACL Change-Id: If1e36bc04f606e6568e6a13cc77f8f51f5834997
2018-10-22IVGCVSW-1952 : add BackendId class to prepare for the replacement of Compute ↵David Beck
enum !armnn:152674 Change-Id: I1bcdfdfbfb73e502d58f35717e2558e24651013c
2018-10-22IVGCVSW-1987 : registry for backend creation functions (factories)David Beck
Change-Id: I13d2d3dc763e1d05dffddb34472bd4f9e632c776
2018-10-22IVGCVSW-1988: Refactor backend-specific unit testsarovir01
Change-Id: I8eca81d2e0780390eaa837c186ffe1c7d41fdebe
2018-10-22IVGCVSW-1951-Remove type templating from ClAdditionWorkloadNattapat Chaimanowong
Change-Id: Ic16c4505bac9c9025856aa4eac1127ad957c9d75
2018-10-10IVGCVSW-1974 - Update CreateWorkload test CL and NeonFrancis Murtagh
Change-Id: Ie02ccbd5945cbacd609b3b5d8d746c202c8e9c69
2018-10-10IVGCVSW-1982 - add create workload test for 2D Pooling (NHWC data layout)Nina Drozd
Change-Id: Ief0c91ba9abc2578944860ddbd3c19e2bad465bd
2018-10-10IVGCVSW-1860 Support NHWC for Pooling2DFrancis Murtagh
Change-Id: I9059a292e47867df82a5efbba5808fd264949ec9
2018-10-10IVGCVSW-1932: Add Unit tests for NHWC ResizeBilinearJames Conroy
* Adds five unit tests that execute ResizeBilinear with the NHWC data layout and Float32 data type. * Refactors original ResizeBilinear Float32 tests to take DataLayout as a parameter. * Adds four unit tests that execute CreateWorkloadCl for both NCHW and NHWC (NCHW tests did not exist for CreateWorkloadCl). Change-Id: I1af419ed0b62b8f4d4550f6d120a584a0a223b17
2018-10-10IVGCVSW-1951 Remove type templating from ClConvolution2dWorkloadMatthew Bentham
Change-Id: Iaa99500bfa8cea846f57636590698f9c8a8c2de0
2018-10-10IVGCVSW-1889 - Unit test Convolution2d with NHWCFrancis Murtagh
* Added simple convolution Unit test * Set the data layout correctly in workloads Change-Id: Ie71b8415f6abc392a84900fc4438b7416fbb558a
2018-10-10IVGCVSW-1622 LSTM Neon supportLes Bell
Change-Id: I107d732760dd8662e2ee9a5e7ebb5baf61c45246
2018-10-10IVGCVSW-1863 Unit tests for NHWC L2NormalizationMatteo Martincigh
* Added NHWC unit test implementation * Programmatically selected the channel dimension when creating the ACL Normalization layer info * Set the input/output data layout in the constructor of the L2Normalization workload Change-Id: Ie69f1a360022c29d1a3a3808c1f26b69243fa8f9
2018-10-10IVGCVSW-1642 : introducing the IBackend interfaceDavid Beck
Change-Id: Iaadee0a08c0594c9a3c802a48fe346e15f2cbbb2
2018-10-10IVGCVSW-1920 Unittests for NHWC Normalization Workloads and Layernarpra01
Change-Id: Iea941c1747454f5a4342351e4e82b10ffb9ccbbd
2018-10-10IVGCVSW-1913: Fix for ValidationTest.concat_float_3_relaxedarovir01
* Added RefPermuteFloat16Workload to serve as a fallback when CL does not support the required permute configuration for FP16 * Move Half.hpp to armnnUtils as the utils library should not be including private header files from the armnn library Change-Id: Ibf0f698451e8406f7ed7cce470dab60b6d16361d
2018-10-10IVGCVSW-1951 Remove type templating from ClSplitterWorkloadMatthew Bentham
Change-Id: Ib289ed5885e0e22ce6d73d7b3b3b103691187a34
2018-10-10IVGCVSW-1951 Remove type templating from ClSubtractionWorkloadMatthew Bentham
Change-Id: Ieda5146d23227e9764f3f867003a13c630494093
2018-10-10IVGCVSW-1207 - Remove typing from ClMultiplicationWorkloadMatthew Bentham
Don't need this now as it uses the compute library validation function, and all of the code for the supported types is identical. Adds Uint8 support to Cl backend, and unit test cases. Change-Id: I35d4edacc1aca241e95d1b19ae525a23d9513c99
2018-10-10IVGCVSW-1900 : CL backend folder structureDavid Beck
* moving backends/ClWorkloads to backends/cl * and moving pure Cl workload related code to backends/cl/workloads Change-Id: I019a3c6b4da5e7a23074bf03fb057e63199ad129