blob: cfe02e673e989a16e4120d62ec20867a7d068f74 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
telsoa014fcda012018-03-09 14:13:49 +00005
Aron Virginas-Tar56055192018-11-12 18:10:43 +00006#include "RefWorkloadFactoryHelper.hpp"
7
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008#include <test/TensorHelpers.hpp>
9#include <test/UnitTests.hpp>
telsoa014fcda012018-03-09 14:13:49 +000010
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +000011#include <reference/RefWorkloadFactory.hpp>
12#include <backendsCommon/test/LayerTests.hpp>
telsoa014fcda012018-03-09 14:13:49 +000013
arovir0143095f32018-10-09 18:04:24 +010014#include <boost/test/unit_test.hpp>
telsoa014fcda012018-03-09 14:13:49 +000015
16BOOST_AUTO_TEST_SUITE(Compute_Reference)
17using FactoryType = armnn::RefWorkloadFactory;
18
19// ============================================================================
20// UNIT tests
21
22// Convolution
jimfly010a088a62018-10-25 17:05:05 +010023ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5, SimpleConvolution2d3x5Test, true, armnn::DataLayout::NCHW)
24ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5Uint8, SimpleConvolution2d3x5Uint8Test, true, armnn::DataLayout::NCHW)
narpra015f703182018-10-26 16:24:58 +010025ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5Nhwc, SimpleConvolution2d3x5Test, true, armnn::DataLayout::NHWC)
26ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5Uint8Nhwc, SimpleConvolution2d3x5Uint8Test, true, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +000027
jimfly010a088a62018-10-25 17:05:05 +010028ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2d, SimpleConvolution2d3x5Test, false, armnn::DataLayout::NCHW)
29ARMNN_AUTO_TEST_CASE(UnbiasedConvolutionUint8, SimpleConvolution2d3x5Uint8Test, false, armnn::DataLayout::NCHW)
narpra015f703182018-10-26 16:24:58 +010030ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2dNhwc, SimpleConvolution2d3x5Test, false, armnn::DataLayout::NHWC)
31ARMNN_AUTO_TEST_CASE(UnbiasedConvolutionUint8Nhwc, SimpleConvolution2d3x5Uint8Test, false, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +000032
33ARMNN_AUTO_TEST_CASE(SimpleConvolution1d, Convolution1dTest, true)
34ARMNN_AUTO_TEST_CASE(SimpleConvolution1dUint8, Convolution1dUint8Test, true)
35
narpra015f703182018-10-26 16:24:58 +010036ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3, SimpleConvolution2d3x3Test, true, armnn::DataLayout::NCHW)
37ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3Uint8, SimpleConvolution2d3x3Uint8Test, true, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +000038
narpra015f703182018-10-26 16:24:58 +010039ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3Nhwc, SimpleConvolution2d3x3Test, true, armnn::DataLayout::NHWC)
40ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3Uint8Nhwc, SimpleConvolution2d3x3Uint8Test, true, armnn::DataLayout::NHWC)
41
42ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2dSquare, SimpleConvolution2d3x3Test, false, armnn::DataLayout::NCHW)
43ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2dSquareNhwc, SimpleConvolution2d3x3Test, false, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +000044
Mike Kelly7332ed82018-12-20 17:03:06 +000045ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2dSquareStride2x2Nhwc,
46 SimpleConvolution2d3x3Stride2x2Test,
47 false,
48 armnn::DataLayout::NHWC)
49
telsoa014fcda012018-03-09 14:13:49 +000050ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPaddingLargerThanHalfKernelSize,
narpra015f703182018-10-26 16:24:58 +010051 Convolution2dAsymmetricPaddingLargerThanHalfKernelSizeTest,
52 armnn::DataLayout::NCHW)
53ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPadding, Convolution2dAsymmetricPaddingTest, armnn::DataLayout::NCHW)
54
55ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPaddingLargerThanHalfKernelSizeNhwc,
56 Convolution2dAsymmetricPaddingLargerThanHalfKernelSizeTest,
57 armnn::DataLayout::NHWC)
58ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPaddingNhwc,
59 Convolution2dAsymmetricPaddingTest,
60 armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +000061
Nikhil Raje4dfd6e2018-10-18 10:11:04 +010062ARMNN_AUTO_TEST_CASE(SimpleConvolution2dSquareNhwc, SimpleConvolution2d3x3NhwcTest, false)
63
telsoa014fcda012018-03-09 14:13:49 +000064// Depthwise Convolution
jimfly01d84216a2018-10-26 12:56:21 +010065ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2d, DepthwiseConvolution2dTest, true, armnn::DataLayout::NCHW)
66ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dUint8, DepthwiseConvolution2dUint8Test, true, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +000067
jimfly01d84216a2018-10-26 12:56:21 +010068ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2d, DepthwiseConvolution2dTest, false, armnn::DataLayout::NCHW)
69ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dUint8,
70 DepthwiseConvolution2dUint8Test,
71 false,
72 armnn::DataLayout::NCHW)
73
74// NHWC Depthwise Convolution
75ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dNhwc, DepthwiseConvolution2dTest, true, armnn::DataLayout::NHWC)
76ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dUint8Nhwc, DepthwiseConvolution2dUint8Test, true, armnn::DataLayout::NHWC)
77
78ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dNhwc, DepthwiseConvolution2dTest, false, armnn::DataLayout::NHWC)
79ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dUint8Nhwc,
80 DepthwiseConvolution2dUint8Test,
81 false,
82 armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +000083
telsoa014fcda012018-03-09 14:13:49 +000084
jimfly01b9c89632018-10-26 16:50:13 +010085ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1,
86 DepthwiseConvolution2dDepthMul1Test, true, armnn::DataLayout::NCHW)
87ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8,
88 DepthwiseConvolution2dDepthMul1Uint8Test, true, armnn::DataLayout::NCHW)
89
90ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1,
91 DepthwiseConvolution2dDepthMul1Test, false, armnn::DataLayout::NCHW)
92ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8,
93 DepthwiseConvolution2dDepthMul1Uint8Test, false, armnn::DataLayout::NCHW)
94
95ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Nhwc,
96 DepthwiseConvolution2dDepthMul1Test, true, armnn::DataLayout::NHWC)
97ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8Nhwc,
98 DepthwiseConvolution2dDepthMul1Uint8Test, true, armnn::DataLayout::NHWC)
99
100ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Nhwc,
101 DepthwiseConvolution2dDepthMul1Test, false, armnn::DataLayout::NHWC)
102ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8Nhwc,
103 DepthwiseConvolution2dDepthMul1Uint8Test, false, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +0000104
jimfly01382a91d2018-10-26 15:55:50 +0100105ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetric,
106 DepthwiseConvolution2dAsymmetricTest, true, armnn::DataLayout::NCHW)
107ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dAsymmetric,
108 DepthwiseConvolution2dAsymmetricTest, false, armnn::DataLayout::NCHW)
109ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetricNhwc,
110 DepthwiseConvolution2dAsymmetricTest, true, armnn::DataLayout::NHWC)
111ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dAsymmetricNhwc,
112 DepthwiseConvolution2dAsymmetricTest, false, armnn::DataLayout::NHWC)
surmeh013537c2c2018-05-18 16:31:43 +0100113
jimfly01b9c89632018-10-26 16:50:13 +0100114
telsoa014fcda012018-03-09 14:13:49 +0000115// Pooling
116ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2, SimpleMaxPooling2dSize2x2Stride2x2Test, false)
117ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2Uint8, SimpleMaxPooling2dSize2x2Stride2x2Uint8Test, false)
118
119ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4, SimpleMaxPooling2dSize3x3Stride2x4Test, false)
120ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4Uint8, SimpleMaxPooling2dSize3x3Stride2x4Uint8Test, false)
121
122ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2d, IgnorePaddingSimpleMaxPooling2dTest)
123ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2dUint8, IgnorePaddingSimpleMaxPooling2dUint8Test)
124ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3, IgnorePaddingMaxPooling2dSize3Test)
125ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3Uint8, IgnorePaddingMaxPooling2dSize3Uint8Test)
126
127ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2d, IgnorePaddingSimpleAveragePooling2dTest)
128ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dUint8, IgnorePaddingSimpleAveragePooling2dUint8Test)
129ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPadding, IgnorePaddingSimpleAveragePooling2dNoPaddingTest)
130ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPaddingUint8,
131 IgnorePaddingSimpleAveragePooling2dNoPaddingUint8Test)
132ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3, IgnorePaddingAveragePooling2dSize3Test)
133ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3Uint8, IgnorePaddingAveragePooling2dSize3Uint8Test)
134
135ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2d, IgnorePaddingSimpleL2Pooling2dTest)
136ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2dUint8, IgnorePaddingSimpleL2Pooling2dUint8Test)
137ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3, IgnorePaddingL2Pooling2dSize3Test)
138ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3Uint8, IgnorePaddingL2Pooling2dSize3Uint8Test)
139
James Conroy45a9b772018-10-31 11:47:53 +0000140ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2d, SimpleMaxPooling2dTest, armnn::DataLayout::NCHW)
141ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dNhwc, SimpleMaxPooling2dTest, armnn::DataLayout::NHWC)
142ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dUint8, SimpleMaxPooling2dUint8Test, armnn::DataLayout::NCHW)
143ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dUint8Nhwc, SimpleMaxPooling2dUint8Test, armnn::DataLayout::NHWC)
144
145ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2d, SimpleAveragePooling2dTest, armnn::DataLayout::NCHW)
146ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2dNhwc, SimpleAveragePooling2dTest, armnn::DataLayout::NHWC)
147ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2dUint8, SimpleAveragePooling2dUint8Test, armnn::DataLayout::NCHW)
148ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2dUint8Nhwc, SimpleAveragePooling2dUint8Test, armnn::DataLayout::NHWC)
149
surmeh01bceff2f2018-03-29 16:29:27 +0100150ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2,
151 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, false)
152ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2NoPadding,
153 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, true)
telsoa014fcda012018-03-09 14:13:49 +0000154
155ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2d, LargeTensorsAveragePooling2dTest)
156ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2dUint8, LargeTensorsAveragePooling2dUint8Test)
157
James Conroy45a9b772018-10-31 11:47:53 +0000158ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2d, SimpleL2Pooling2dTest, armnn::DataLayout::NCHW)
159ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2dNhwc, SimpleL2Pooling2dTest, armnn::DataLayout::NHWC)
160ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2dUint8, SimpleL2Pooling2dUint8Test, armnn::DataLayout::NCHW)
161ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2dNhwcUint8, SimpleL2Pooling2dUint8Test, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +0000162
163ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7, L2Pooling2dSize7Test)
164ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7Uint8, L2Pooling2dSize7Uint8Test)
165
166ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2d, AsymmetricNonSquarePooling2dTest)
167ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2dUint8, AsymmetricNonSquarePooling2dUint8Test)
168
169// Activation
170ARMNN_AUTO_TEST_CASE(ConstantLinearActivation, ConstantLinearActivationTest)
171ARMNN_AUTO_TEST_CASE(ConstantLinearActivationUint8, ConstantLinearActivationUint8Test)
172
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100173// Normalization
telsoa014fcda012018-03-09 14:13:49 +0000174ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcross, SimpleNormalizationAcrossTest)
175ARMNN_AUTO_TEST_CASE(SimpleNormalizationWithin, SimpleNormalizationWithinTest)
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100176ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcrossNhwc, SimpleNormalizationAcrossNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000177
178ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1, SimpleSoftmaxTest, 1.0f)
179ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2, SimpleSoftmaxTest, 2.0f)
180ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1Uint8, SimpleSoftmaxUint8Test, 1.0f)
181ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2Uint8, SimpleSoftmaxUint8Test, 2.0f)
182
183ARMNN_AUTO_TEST_CASE(SimpleSigmoid, SimpleSigmoidTest)
184ARMNN_AUTO_TEST_CASE(SimpleSigmoidUint8, SimpleSigmoidUint8Test)
185
186ARMNN_AUTO_TEST_CASE(ReLu1, BoundedReLuUpperAndLowerBoundTest)
187ARMNN_AUTO_TEST_CASE(ReLu6, BoundedReLuUpperBoundOnlyTest)
188ARMNN_AUTO_TEST_CASE(ReLu1Uint8, BoundedReLuUint8UpperAndLowerBoundTest)
189ARMNN_AUTO_TEST_CASE(ReLu6Uint8, BoundedReLuUint8UpperBoundOnlyTest)
190
191// Fully Conected
192ARMNN_AUTO_TEST_CASE(SimpleFullyConnected, FullyConnectedFloat32Test, false, false)
193ARMNN_AUTO_TEST_CASE(FullyConnectedUint8, FullyConnectedUint8Test, false)
194ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithBias, FullyConnectedFloat32Test, true, false)
195ARMNN_AUTO_TEST_CASE(FullyConnectedBiasedUint8, FullyConnectedUint8Test, true)
196ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithTranspose, FullyConnectedFloat32Test, false, true)
197
198ARMNN_AUTO_TEST_CASE(FullyConnectedLarge, FullyConnectedLargeTest, false)
199ARMNN_AUTO_TEST_CASE(FullyConnectedLargeTransposed, FullyConnectedLargeTest, true)
200
201// Splitter
telsoa01c577f2c2018-08-31 09:22:23 +0100202ARMNN_AUTO_TEST_CASE(SimpleSplitter, SplitterTest)
203ARMNN_AUTO_TEST_CASE(SimpleSplitterUint8, SplitterUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000204
205ARMNN_AUTO_TEST_CASE(CopyViaSplitter, CopyViaSplitterTest)
206ARMNN_AUTO_TEST_CASE(CopyViaSplitterUint8, CopyViaSplitterUint8Test)
207
208// Merger
209ARMNN_AUTO_TEST_CASE(SimpleMerger, MergerTest)
210ARMNN_AUTO_TEST_CASE(MergerUint8, MergerUint8Test)
211
212// Add
213ARMNN_AUTO_TEST_CASE(SimpleAdd, AdditionTest)
214ARMNN_AUTO_TEST_CASE(AddBroadcast1Element, AdditionBroadcast1ElementTest)
215ARMNN_AUTO_TEST_CASE(AddBroadcast, AdditionBroadcastTest)
216
217ARMNN_AUTO_TEST_CASE(AdditionUint8, AdditionUint8Test)
218ARMNN_AUTO_TEST_CASE(AddBroadcastUint8, AdditionBroadcastUint8Test)
219ARMNN_AUTO_TEST_CASE(AddBroadcast1ElementUint8, AdditionBroadcast1ElementUint8Test)
220
David Beckf195f032018-09-06 16:46:34 +0100221// Sub
222ARMNN_AUTO_TEST_CASE(SimpleSub, SubtractionTest)
223ARMNN_AUTO_TEST_CASE(SubBroadcast1Element, SubtractionBroadcast1ElementTest)
224ARMNN_AUTO_TEST_CASE(SubBroadcast, SubtractionBroadcastTest)
225
David Beck4a8692c2018-09-07 16:19:24 +0100226ARMNN_AUTO_TEST_CASE(SubtractionUint8, SubtractionUint8Test)
David Beckf195f032018-09-06 16:46:34 +0100227ARMNN_AUTO_TEST_CASE(SubBroadcastUint8, SubtractionBroadcastUint8Test)
228ARMNN_AUTO_TEST_CASE(SubBroadcast1ElementUint8, SubtractionBroadcast1ElementUint8Test)
229
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100230// Div
231ARMNN_AUTO_TEST_CASE(SimpleDivision, DivisionTest)
Francis Murtagh8c5e3dc2018-08-30 17:18:37 +0100232ARMNN_AUTO_TEST_CASE(DivisionByZero, DivisionByZeroTest)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100233ARMNN_AUTO_TEST_CASE(DivisionBroadcast1Element, DivisionBroadcast1ElementTest)
234ARMNN_AUTO_TEST_CASE(DivisionBroadcast1DVector, DivisionBroadcast1DVectorTest)
David Beck5cd01f32018-09-12 16:00:08 +0100235// NOTE: division by zero for quantized div needs more attention
236// see IVGCVSW-1849
237ARMNN_AUTO_TEST_CASE(DivisionUint8, DivisionUint8Test)
238ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1Element, DivisionBroadcast1ElementUint8Test)
239ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1DVector, DivisionBroadcast1DVectorUint8Test)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100240
FrancisMurtagh30cdfca2018-12-18 12:57:35 +0000241// Equal
242ARMNN_AUTO_TEST_CASE(SimpleEqual, EqualSimpleTest)
243ARMNN_AUTO_TEST_CASE(EqualBroadcast1Element, EqualBroadcast1ElementTest)
244ARMNN_AUTO_TEST_CASE(EqualBroadcast1DVector, EqualBroadcast1DVectorTest)
245ARMNN_AUTO_TEST_CASE(EqualUint8, EqualUint8Test)
246ARMNN_AUTO_TEST_CASE(EqualBroadcast1ElementUint8, EqualBroadcast1ElementUint8Test)
247ARMNN_AUTO_TEST_CASE(EqualBroadcast1DVectorUint8, EqualBroadcast1DVectorUint8Test)
248
FrancisMurtagh878f0232018-12-19 10:56:15 +0000249// Greater
250ARMNN_AUTO_TEST_CASE(SimpleGreater, GreaterSimpleTest)
251ARMNN_AUTO_TEST_CASE(GreaterBroadcast1Element, GreaterBroadcast1ElementTest)
252ARMNN_AUTO_TEST_CASE(GreaterBroadcast1DVector, GreaterBroadcast1DVectorTest)
253ARMNN_AUTO_TEST_CASE(GreaterUint8, GreaterUint8Test)
254ARMNN_AUTO_TEST_CASE(GreaterBroadcast1ElementUint8, GreaterBroadcast1ElementUint8Test)
255ARMNN_AUTO_TEST_CASE(GreaterBroadcast1DVectorUint8, GreaterBroadcast1DVectorUint8Test)
256
Éanna Ó Catháin20e58802018-12-04 10:29:06 +0000257// Max
Éanna Ó Catháinde705582018-12-03 13:04:22 +0000258ARMNN_AUTO_TEST_CASE(SimpleMaximum, MaximumSimpleTest)
259ARMNN_AUTO_TEST_CASE(MaximumBroadcast1Element, MaximumBroadcast1ElementTest)
260ARMNN_AUTO_TEST_CASE(MaximumBroadcast1DVector, MaximumBroadcast1DVectorTest)
261ARMNN_AUTO_TEST_CASE(MaximumUint8, MaximumUint8Test)
262ARMNN_AUTO_TEST_CASE(MaximumBroadcast1ElementUint8, MaximumBroadcast1ElementUint8Test)
263ARMNN_AUTO_TEST_CASE(MaximumBroadcast1DVectorUint8, MaximumBroadcast1DVectorUint8Test)
264
Éanna Ó Catháin20e58802018-12-04 10:29:06 +0000265// Min
266ARMNN_AUTO_TEST_CASE(SimpleMinimum1, MinimumBroadcast1ElementTest1)
267ARMNN_AUTO_TEST_CASE(SimpleMinimum2, MinimumBroadcast1ElementTest2)
268ARMNN_AUTO_TEST_CASE(Minimum1DVectorUint8, MinimumBroadcast1DVectorUint8Test)
269
telsoa014fcda012018-03-09 14:13:49 +0000270// Mul
271ARMNN_AUTO_TEST_CASE(SimpleMultiplication, MultiplicationTest)
surmeh01bceff2f2018-03-29 16:29:27 +0100272ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1Element, MultiplicationBroadcast1ElementTest)
273ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVector, MultiplicationBroadcast1DVectorTest)
telsoa014fcda012018-03-09 14:13:49 +0000274ARMNN_AUTO_TEST_CASE(MultiplicationUint8, MultiplicationUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100275ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1ElementUint8, MultiplicationBroadcast1ElementUint8Test)
276ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVectorUint8, MultiplicationBroadcast1DVectorUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000277
278// Batch Norm
279ARMNN_AUTO_TEST_CASE(BatchNorm, BatchNormTest)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100280ARMNN_AUTO_TEST_CASE(BatchNormNhwc, BatchNormNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000281ARMNN_AUTO_TEST_CASE(BatchNormUint8, BatchNormUint8Test)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100282ARMNN_AUTO_TEST_CASE(BatchNormUint8Nhwc, BatchNormUint8NhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000283
James Conroy59540822018-10-11 12:39:05 +0100284// Resize Bilinear - NCHW
James Conroy6b965822018-11-01 11:33:09 +0000285ARMNN_AUTO_TEST_CASE(SimpleResizeBilinear, SimpleResizeBilinearTest, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +0000286ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearUint8, SimpleResizeBilinearUint8Test)
James Conroy6b965822018-11-01 11:33:09 +0000287ARMNN_AUTO_TEST_CASE(ResizeBilinearNop, ResizeBilinearNopTest, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +0000288ARMNN_AUTO_TEST_CASE(ResizeBilinearNopUint8, ResizeBilinearNopUint8Test)
James Conroy6b965822018-11-01 11:33:09 +0000289ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMin, ResizeBilinearSqMinTest, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +0000290ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinUint8, ResizeBilinearSqMinUint8Test)
James Conroy6b965822018-11-01 11:33:09 +0000291ARMNN_AUTO_TEST_CASE(ResizeBilinearMin, ResizeBilinearMinTest, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +0000292ARMNN_AUTO_TEST_CASE(ResizeBilinearMinUint8, ResizeBilinearMinUint8Test)
James Conroy6b965822018-11-01 11:33:09 +0000293ARMNN_AUTO_TEST_CASE(ResizeBilinearMag, ResizeBilinearMagTest, armnn::DataLayout::NCHW)
telsoa014fcda012018-03-09 14:13:49 +0000294ARMNN_AUTO_TEST_CASE(ResizeBilinearMagUint8, ResizeBilinearMagUint8Test)
295
James Conroy59540822018-10-11 12:39:05 +0100296// Resize Bilinear - NHWC
James Conroy6b965822018-11-01 11:33:09 +0000297ARMNN_AUTO_TEST_CASE(ResizeBilinearNopNhwc, ResizeBilinearNopTest, armnn::DataLayout::NHWC)
298ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearNhwc, SimpleResizeBilinearTest, armnn::DataLayout::NHWC)
299ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinNhwc, ResizeBilinearSqMinTest, armnn::DataLayout::NHWC)
300ARMNN_AUTO_TEST_CASE(ResizeBilinearMinNhwc, ResizeBilinearMinTest, armnn::DataLayout::NHWC)
301ARMNN_AUTO_TEST_CASE(ResizeBilinearMagNhwc, ResizeBilinearMagTest, armnn::DataLayout::NHWC)
James Conroy59540822018-10-11 12:39:05 +0100302
telsoa014fcda012018-03-09 14:13:49 +0000303// Fake Quantization
304ARMNN_AUTO_TEST_CASE(FakeQuantization, FakeQuantizationTest)
305
Matteo Martincigh539b44d2018-10-01 09:26:39 +0100306// L2 Normalization
jimfly013aab7c32018-11-12 13:32:08 +0000307ARMNN_AUTO_TEST_CASE(L2Normalization1d, L2Normalization1dTest, armnn::DataLayout::NCHW)
308ARMNN_AUTO_TEST_CASE(L2Normalization2d, L2Normalization2dTest, armnn::DataLayout::NCHW)
309ARMNN_AUTO_TEST_CASE(L2Normalization3d, L2Normalization3dTest, armnn::DataLayout::NCHW)
310ARMNN_AUTO_TEST_CASE(L2Normalization4d, L2Normalization4dTest, armnn::DataLayout::NCHW)
311
312ARMNN_AUTO_TEST_CASE(L2Normalization1dNhwc, L2Normalization1dTest, armnn::DataLayout::NHWC)
313ARMNN_AUTO_TEST_CASE(L2Normalization2dNhwc, L2Normalization2dTest, armnn::DataLayout::NHWC)
314ARMNN_AUTO_TEST_CASE(L2Normalization3dNhwc, L2Normalization3dTest, armnn::DataLayout::NHWC)
315ARMNN_AUTO_TEST_CASE(L2Normalization4dNhwc, L2Normalization4dTest, armnn::DataLayout::NHWC)
telsoa014fcda012018-03-09 14:13:49 +0000316
Mohamed Nour Abouelseoud7420e552018-10-12 12:26:24 +0100317// Pad
Mohamed Nour Abouelseouddd6acea2018-10-18 12:26:19 +0100318ARMNN_AUTO_TEST_CASE(PadFloat322d, PadFloat322dTest)
319ARMNN_AUTO_TEST_CASE(PadFloat323d, PadFloat323dTest)
320ARMNN_AUTO_TEST_CASE(PadFloat324d, PadFloat324dTest)
321
322ARMNN_AUTO_TEST_CASE(PadUint82d, PadUint82dTest)
323ARMNN_AUTO_TEST_CASE(PadUint83d, PadUint83dTest)
324ARMNN_AUTO_TEST_CASE(PadUint84d, PadUint84dTest)
Mohamed Nour Abouelseoud7420e552018-10-12 12:26:24 +0100325
telsoa014fcda012018-03-09 14:13:49 +0000326// Constant
327ARMNN_AUTO_TEST_CASE(Constant, ConstantTest)
328ARMNN_AUTO_TEST_CASE(ConstantUint8, ConstantUint8Test)
329
330// Concat
331ARMNN_AUTO_TEST_CASE(Concatenation1d, Concatenation1dTest)
332ARMNN_AUTO_TEST_CASE(Concatenation1dUint8, Concatenation1dUint8Test)
333
334ARMNN_AUTO_TEST_CASE(Concatenation2dDim0, Concatenation2dDim0Test)
335ARMNN_AUTO_TEST_CASE(Concatenation2dDim0Uint8, Concatenation2dDim0Uint8Test)
336ARMNN_AUTO_TEST_CASE(Concatenation2dDim1, Concatenation2dDim1Test)
337ARMNN_AUTO_TEST_CASE(Concatenation2dDim1Uint8, Concatenation2dDim1Uint8Test)
338
339ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDims, Concatenation2dDim0DiffInputDimsTest)
340ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDimsUint8, Concatenation2dDim0DiffInputDimsUint8Test)
341ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDims, Concatenation2dDim1DiffInputDimsTest)
342ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDimsUint8, Concatenation2dDim1DiffInputDimsUint8Test)
343
344ARMNN_AUTO_TEST_CASE(Concatenation3dDim0, Concatenation3dDim0Test)
345ARMNN_AUTO_TEST_CASE(Concatenation3dDim0Uint8, Concatenation3dDim0Uint8Test)
346ARMNN_AUTO_TEST_CASE(Concatenation3dDim1, Concatenation3dDim1Test)
347ARMNN_AUTO_TEST_CASE(Concatenation3dDim1Uint8, Concatenation3dDim1Uint8Test)
narpra015cdda352018-11-19 15:30:27 +0000348ARMNN_AUTO_TEST_CASE(Concatenation3dDim2, Concatenation3dDim2Test, true)
349ARMNN_AUTO_TEST_CASE(Concatenation3dDim2Uint8, Concatenation3dDim2Uint8Test, true)
telsoa014fcda012018-03-09 14:13:49 +0000350
351ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDims, Concatenation3dDim0DiffInputDimsTest)
352ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDimsUint8, Concatenation3dDim0DiffInputDimsUint8Test)
353ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDims, Concatenation3dDim1DiffInputDimsTest)
354ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDimsUint8, Concatenation3dDim1DiffInputDimsUint8Test)
narpra015cdda352018-11-19 15:30:27 +0000355ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDims, Concatenation3dDim2DiffInputDimsTest, true)
356ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDimsUint8, Concatenation3dDim2DiffInputDimsUint8Test, true)
357
358ARMNN_AUTO_TEST_CASE(Concatenation4dDim0, Concatenation4dDim0Test)
359ARMNN_AUTO_TEST_CASE(Concatenation4dDim1, Concatenation4dDim1Test)
360ARMNN_AUTO_TEST_CASE(Concatenation4dDim2, Concatenation4dDim2Test)
361ARMNN_AUTO_TEST_CASE(Concatenation4dDim3, Concatenation4dDim3Test, true)
362ARMNN_AUTO_TEST_CASE(Concatenation4dDim0Uint8, Concatenation4dDim0Uint8Test)
363ARMNN_AUTO_TEST_CASE(Concatenation4dDim1Uint8, Concatenation4dDim1Uint8Test)
364ARMNN_AUTO_TEST_CASE(Concatenation4dDim2Uint8, Concatenation4dDim2Uint8Test)
365ARMNN_AUTO_TEST_CASE(Concatenation4dDim3Uint8, Concatenation4dDim3Uint8Test, true)
366
367ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim0, Concatenation4dDiffShapeDim0Test)
368ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim1, Concatenation4dDiffShapeDim1Test)
369ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim2, Concatenation4dDiffShapeDim2Test)
370ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim3, Concatenation4dDiffShapeDim3Test, true)
371ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim0Uint8, Concatenation4dDiffShapeDim0Uint8Test)
372ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim1Uint8, Concatenation4dDiffShapeDim1Uint8Test)
373ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim2Uint8, Concatenation4dDiffShapeDim2Uint8Test)
374ARMNN_AUTO_TEST_CASE(Concatenation4dDiffShapeDim3Uint8, Concatenation4dDiffShapeDim3Uint8Test, true)
telsoa014fcda012018-03-09 14:13:49 +0000375
376// Floor
377ARMNN_AUTO_TEST_CASE(SimpleFloor, SimpleFloorTest)
378
379// Reshape
380ARMNN_AUTO_TEST_CASE(SimpleReshapeFloat32, SimpleReshapeFloat32Test)
381ARMNN_AUTO_TEST_CASE(SimpleReshapeUint8, SimpleReshapeUint8Test)
382
Mohamed Nour Abouelseouda1d3c6a2018-12-27 12:39:16 +0000383// Rsqrt
384ARMNN_AUTO_TEST_CASE(Rsqrt2d, Rsqrt2dTest)
385ARMNN_AUTO_TEST_CASE(Rsqrt3d, Rsqrt3dTest)
386ARMNN_AUTO_TEST_CASE(RsqrtZero, RsqrtZeroTest)
387ARMNN_AUTO_TEST_CASE(RsqrtNegative, RsqrtNegativeTest)
388
telsoa014fcda012018-03-09 14:13:49 +0000389// Permute
390ARMNN_AUTO_TEST_CASE(SimplePermuteFloat32, SimplePermuteFloat32Test)
391ARMNN_AUTO_TEST_CASE(SimplePermuteUint8, SimplePermuteUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100392ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet1, PermuteFloat32ValueSet1Test)
393ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet2, PermuteFloat32ValueSet2Test)
394ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet3, PermuteFloat32ValueSet3Test)
telsoa014fcda012018-03-09 14:13:49 +0000395
Matteo Martincigha65b7ae2018-11-14 12:39:55 +0000396// Lstm
397ARMNN_AUTO_TEST_CASE(LstmLayerFloat32WithCifgWithPeepholeNoProjection,
398 LstmLayerFloat32WithCifgWithPeepholeNoProjectionTest)
399ARMNN_AUTO_TEST_CASE(LstmLayerFloat32NoCifgNoPeepholeNoProjection,
400 LstmLayerFloat32NoCifgNoPeepholeNoProjectionTest)
401ARMNN_AUTO_TEST_CASE(LstmLayerFloat32NoCifgWithPeepholeWithProjection,
402 LstmLayerFloat32NoCifgWithPeepholeWithProjectionTest)
403
telsoa01c577f2c2018-08-31 09:22:23 +0100404// Convert from Float16 to Float32
405ARMNN_AUTO_TEST_CASE(SimpleConvertFp16ToFp32, SimpleConvertFp16ToFp32Test)
406// Convert from Float32 to Float16
407ARMNN_AUTO_TEST_CASE(SimpleConvertFp32ToFp16, SimpleConvertFp32ToFp16Test)
408
narpra011e4c31d2018-09-28 11:07:51 +0100409// Mean
410ARMNN_AUTO_TEST_CASE(MeanUint8Simple, MeanUint8SimpleTest)
411ARMNN_AUTO_TEST_CASE(MeanUint8SimpleAxis, MeanUint8SimpleAxisTest)
412ARMNN_AUTO_TEST_CASE(MeanUint8KeepDims, MeanUint8KeepDimsTest)
413ARMNN_AUTO_TEST_CASE(MeanUint8MultipleDims, MeanUint8MultipleDimsTest)
414ARMNN_AUTO_TEST_CASE(MeanVtsUint8, MeanVtsUint8Test)
415
416ARMNN_AUTO_TEST_CASE(MeanFloatSimple, MeanFloatSimpleTest)
417ARMNN_AUTO_TEST_CASE(MeanFloatSimpleAxis, MeanFloatSimpleAxisTest)
418ARMNN_AUTO_TEST_CASE(MeanFloatKeepDims, MeanFloatKeepDimsTest)
419ARMNN_AUTO_TEST_CASE(MeanFloatMultipleDims, MeanFloatMultipleDimsTest)
420ARMNN_AUTO_TEST_CASE(MeanVtsFloat1, MeanVtsFloat1Test)
421ARMNN_AUTO_TEST_CASE(MeanVtsFloat2, MeanVtsFloat2Test)
Matteo Martincigh28dcab62018-10-19 16:40:03 +0100422ARMNN_AUTO_TEST_CASE(MeanVtsFloat3, MeanVtsFloat3Test)
narpra011e4c31d2018-09-28 11:07:51 +0100423
Éanna Ó Catháin47c1ddb2018-10-12 14:24:13 +0100424ARMNN_AUTO_TEST_CASE(AdditionAfterMaxPool, AdditionAfterMaxPoolTest)
425
Nattapat Chaimanowong3ea76d52018-11-09 14:10:38 +0000426// Space To Batch Nd
427ARMNN_AUTO_TEST_CASE(SpaceToBatchNdSimpleFloat32, SpaceToBatchNdSimpleFloat32Test)
428ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiChannelsFloat32, SpaceToBatchNdMultiChannelsFloat32Test)
429ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiBlockFloat32, SpaceToBatchNdMultiBlockFloat32Test)
430ARMNN_AUTO_TEST_CASE(SpaceToBatchNdPaddingFloat32, SpaceToBatchNdPaddingFloat32Test)
431
432ARMNN_AUTO_TEST_CASE(SpaceToBatchNdSimpleUint8, SpaceToBatchNdSimpleUint8Test)
433ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiChannelsUint8, SpaceToBatchNdMultiChannelsUint8Test)
434ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiBlockUint8, SpaceToBatchNdMultiBlockUint8Test)
435ARMNN_AUTO_TEST_CASE(SpaceToBatchNdPaddingUint8, SpaceToBatchNdPaddingUint8Test)
436
437ARMNN_AUTO_TEST_CASE(SpaceToBatchNdSimpleNHWCFloat32, SpaceToBatchNdSimpleNHWCFloat32Test)
438ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiChannelsNHWCFloat32, SpaceToBatchNdMultiChannelsNHWCFloat32Test)
439ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiBlockNHWCFloat32, SpaceToBatchNdMultiBlockNHWCFloat32Test)
440ARMNN_AUTO_TEST_CASE(SpaceToBatchNdPaddingNHWCFloat32, SpaceToBatchNdPaddingNHWCFloat32Test)
441
442ARMNN_AUTO_TEST_CASE(SpaceToBatchNdSimpleNHWCUint8, SpaceToBatchNdSimpleNHWCUint8Test)
443ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiChannelsNHWCUint8, SpaceToBatchNdMultiChannelsNHWCUint8Test)
444ARMNN_AUTO_TEST_CASE(SpaceToBatchNdMultiBlockNHWCUint8, SpaceToBatchNdMultiBlockNHWCUint8Test)
445ARMNN_AUTO_TEST_CASE(SpaceToBatchNdPaddingNHWCUint8, SpaceToBatchNdPaddingNHWCUint8Test)
446
Éanna Ó Catháin4e1e1362018-11-12 11:36:34 +0000447ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcFloat321, BatchToSpaceNdNhwcFloat32Test1)
448ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcFloat322, BatchToSpaceNdNhwcFloat32Test2)
449ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcFloat323, BatchToSpaceNdNhwcFloat32Test3)
450
451ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwFloat321, BatchToSpaceNdNchwFloat32Test1)
Mike Kelly831faed2018-11-28 11:52:08 +0000452ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwFloat322, BatchToSpaceNdNchwFloat32Test2)
453ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwFloat323, BatchToSpaceNdNchwFloat32Test3)
Éanna Ó Catháin4e1e1362018-11-12 11:36:34 +0000454
Éanna Ó Catháin262553e2018-11-14 11:26:23 +0000455ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcUint1, BatchToSpaceNdNhwcUintTest1)
Mike Kelly831faed2018-11-28 11:52:08 +0000456ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcUint2, BatchToSpaceNdNhwcUintTest2)
457ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNhwcUint3, BatchToSpaceNdNhwcUintTest3)
458
459ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwUint1, BatchToSpaceNdNchwUintTest1)
460ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwUint2, BatchToSpaceNdNchwUintTest2)
461ARMNN_AUTO_TEST_CASE(BatchToSpaceNdNchwUint3, BatchToSpaceNdNchwUintTest3)
Éanna Ó Catháin262553e2018-11-14 11:26:23 +0000462
Nattapat Chaimanowong1216b582018-11-23 15:33:41 +0000463// Strided Slice
464ARMNN_AUTO_TEST_CASE(StridedSlice4DFloat32, StridedSlice4DFloat32Test)
465ARMNN_AUTO_TEST_CASE(StridedSlice4DReverseFloat32, StridedSlice4DReverseFloat32Test)
466ARMNN_AUTO_TEST_CASE(StridedSliceSimpleStrideFloat32, StridedSliceSimpleStrideFloat32Test)
467ARMNN_AUTO_TEST_CASE(StridedSliceSimpleRangeMaskFloat32, StridedSliceSimpleRangeMaskFloat32Test)
468ARMNN_AUTO_TEST_CASE(StridedSliceShrinkAxisMaskFloat32, StridedSliceShrinkAxisMaskFloat32Test)
469ARMNN_AUTO_TEST_CASE(StridedSlice3DFloat32, StridedSlice3DFloat32Test)
470ARMNN_AUTO_TEST_CASE(StridedSlice3DReverseFloat32, StridedSlice3DReverseFloat32Test)
471ARMNN_AUTO_TEST_CASE(StridedSlice2DFloat32, StridedSlice2DFloat32Test)
472ARMNN_AUTO_TEST_CASE(StridedSlice2DReverseFloat32, StridedSlice2DReverseFloat32Test)
473
474ARMNN_AUTO_TEST_CASE(StridedSlice4DUint8, StridedSlice4DUint8Test)
475ARMNN_AUTO_TEST_CASE(StridedSlice4DReverseUint8, StridedSlice4DReverseUint8Test)
476ARMNN_AUTO_TEST_CASE(StridedSliceSimpleStrideUint8, StridedSliceSimpleStrideUint8Test)
477ARMNN_AUTO_TEST_CASE(StridedSliceSimpleRangeMaskUint8, StridedSliceSimpleRangeMaskUint8Test)
478ARMNN_AUTO_TEST_CASE(StridedSliceShrinkAxisMaskUint8, StridedSliceShrinkAxisMaskUint8Test)
479ARMNN_AUTO_TEST_CASE(StridedSlice3DUint8, StridedSlice3DUint8Test)
480ARMNN_AUTO_TEST_CASE(StridedSlice3DReverseUint8, StridedSlice3DReverseUint8Test)
481ARMNN_AUTO_TEST_CASE(StridedSlice2DUint8, StridedSlice2DUint8Test)
482ARMNN_AUTO_TEST_CASE(StridedSlice2DReverseUint8, StridedSlice2DReverseUint8Test)
483
Nattapat Chaimanowongcfdcadf2018-12-06 11:54:33 +0000484// Debug
485ARMNN_AUTO_TEST_CASE(Debug4DFloat32, Debug4DFloat32Test)
486ARMNN_AUTO_TEST_CASE(Debug3DFloat32, Debug3DFloat32Test)
487ARMNN_AUTO_TEST_CASE(Debug2DFloat32, Debug2DFloat32Test)
488ARMNN_AUTO_TEST_CASE(Debug1DFloat32, Debug1DFloat32Test)
489
490ARMNN_AUTO_TEST_CASE(Debug4DUint8, Debug4DUint8Test)
491ARMNN_AUTO_TEST_CASE(Debug3DUint8, Debug3DUint8Test)
492ARMNN_AUTO_TEST_CASE(Debug2DUint8, Debug2DUint8Test)
493ARMNN_AUTO_TEST_CASE(Debug1DUint8, Debug1DUint8Test)
494
narpra014951d842019-01-18 16:53:53 +0000495// Gather
496ARMNN_AUTO_TEST_CASE(Gather1DParamsFloat, Gather1DParamsFloatTest)
497ARMNN_AUTO_TEST_CASE(Gather1DParamsUint8, Gather1DParamsUint8Test)
498ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsFloat, GatherMultiDimParamsFloatTest)
499ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsUint8, GatherMultiDimParamsUint8Test)
500ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsMultiDimIndicesFloat, GatherMultiDimParamsMultiDimIndicesFloatTest)
501ARMNN_AUTO_TEST_CASE(GatherMultiDimParamsMultiDimIndicesUint8, GatherMultiDimParamsMultiDimIndicesUint8Test)
502
telsoa014fcda012018-03-09 14:13:49 +0000503BOOST_AUTO_TEST_SUITE_END()