aboutsummaryrefslogtreecommitdiff
path: root/test/Convolution2D.hpp
AgeCommit message (Collapse)Author
2021-10-14IVGCVSW-6428 Remove assertsMike Kelly
* Changed asserts to check for errors and return appropriate values or throw exceptions * Changed unit tests to use Doctest's long macro names as the short macro names clashed with Android's Logging macros * Removed unused #includes * Clarified ambiguous #includes Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ice92a37590df727fd581d3be5ff2716665f26a13
2021-06-09IVGCVSW-4618 'Transition Units Test Suites'Sadik Armagan
* Used doctest in android-nn-driver unit tests. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9b5d4dfd77d53c7ebee7f8c43628a1d6ff74d1a3
2021-02-15IVGCVSW-5665 Basic NN Driver support for next OS VersionSadik Armagan
Signed-off-by: Kevin May <kevin.may@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1e1db52322092c6b1b7ac6183c3adc90aabcec24
2020-04-27IVGCVSW-4692 HAL 1.3 VTS/NNT, Unit test FailuresSadik Armagan
* Check if the model is prepared. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ia6ea7c5b61a1da97acddddfc5431925cbb4f0227
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-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>
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-06-17IVGCVSW-2779 Fix Android Q buildMatteo Martincigh
* Included required functions to the Android Q build by using macro ARMNN_ANDROID_NN_V1_2 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3ea99ba4bebd85f0e8e69c72a90e1a7def4f9b35
2019-06-17IVGCVSW-3283 Add test for converting CONV2D and DEPTHWISE_CONV2D operators ↵Aron Virginas-Tar
with dilation params Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I51a9c71d7a277ab530ac35faea2e8a069c134f45
2019-05-23IVGCVSW-3116 Fix failing NN Driver Tests on Android QKevin May
* Refactor Convolution2d Unit test for fp16Enabled * Disable GpuAcc for Unit tests in Android Q Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I9613eb325841bdf7d25abf51259fe2f5d973c929
2019-05-08IVGCVSW-2911 Android Q compatibility code updatesSadik Armagan
* Updates on test classes. Change-Id: I52e11a1d97d02c23e0a33e4e128dc43a4a95b5bc Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2018-09-18IVGCVSW-1713 Create a minimum unit test to compare the resultsNikhil Raj
before and after passing the FP16 flag in the Android-nn-driver Change-Id: If8d4ca12421c3bee2526eec98f11d393af822373