blob: 21371611bbfe8abc4c2cab316c3b818b0d66143f [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
telsoa014fcda012018-03-09 14:13:49 +00006#include "test/TensorHelpers.hpp"
arovir0143095f32018-10-09 18:04:24 +01007#include "test/UnitTests.hpp"
telsoa014fcda012018-03-09 14:13:49 +00008
David Beckb4540be2018-09-24 13:18:27 +01009#include <backends/reference/RefWorkloadFactory.hpp>
arovir0143095f32018-10-09 18:04:24 +010010#include <backends/test/LayerTests.hpp>
telsoa014fcda012018-03-09 14:13:49 +000011
arovir0143095f32018-10-09 18:04:24 +010012#include <boost/test/unit_test.hpp>
telsoa014fcda012018-03-09 14:13:49 +000013
14BOOST_AUTO_TEST_SUITE(Compute_Reference)
15using FactoryType = armnn::RefWorkloadFactory;
16
17// ============================================================================
18// UNIT tests
19
20// Convolution
21ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5, SimpleConvolution2d3x5Test, true)
22ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x5Uint8, SimpleConvolution2d3x5Uint8Test, true)
23
24ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2d, SimpleConvolution2d3x5Test, false)
25ARMNN_AUTO_TEST_CASE(UnbiasedConvolutionUint8, SimpleConvolution2d3x5Uint8Test, false)
26
27ARMNN_AUTO_TEST_CASE(SimpleConvolution1d, Convolution1dTest, true)
28ARMNN_AUTO_TEST_CASE(SimpleConvolution1dUint8, Convolution1dUint8Test, true)
29
30ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3, SimpleConvolution2d3x3Test, true)
31ARMNN_AUTO_TEST_CASE(SimpleConvolution2d3x3Uint8, SimpleConvolution2d3x3Uint8Test, true)
32
33ARMNN_AUTO_TEST_CASE(UnbiasedConvolution2dSquare, SimpleConvolution2d3x3Test, false)
34
35ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPaddingLargerThanHalfKernelSize,
36 Convolution2dAsymmetricPaddingLargerThanHalfKernelSizeTest)
37ARMNN_AUTO_TEST_CASE(SimpleConvolution2dAsymmetricPadding, Convolution2dAsymmetricPaddingTest)
38
39// Depthwise Convolution
40ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2d, DepthwiseConvolution2dTest, true)
41ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dUint8, DepthwiseConvolution2dUint8Test, true)
42
43ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2d, DepthwiseConvolution2dTest, false)
44ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dUint8, DepthwiseConvolution2dUint8Test, false)
45
46ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, true)
47ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, true)
48
49ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, false)
50ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, false)
51
surmeh013537c2c2018-05-18 16:31:43 +010052ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetric, DepthwiseConvolution2dAsymmetricTest, true)
53ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dAsymmetric, DepthwiseConvolution2dAsymmetricTest, false)
54
telsoa014fcda012018-03-09 14:13:49 +000055// Pooling
56ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2, SimpleMaxPooling2dSize2x2Stride2x2Test, false)
57ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2Uint8, SimpleMaxPooling2dSize2x2Stride2x2Uint8Test, false)
58
59ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4, SimpleMaxPooling2dSize3x3Stride2x4Test, false)
60ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4Uint8, SimpleMaxPooling2dSize3x3Stride2x4Uint8Test, false)
61
62ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2d, IgnorePaddingSimpleMaxPooling2dTest)
63ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2dUint8, IgnorePaddingSimpleMaxPooling2dUint8Test)
64ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3, IgnorePaddingMaxPooling2dSize3Test)
65ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3Uint8, IgnorePaddingMaxPooling2dSize3Uint8Test)
66
67ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2d, IgnorePaddingSimpleAveragePooling2dTest)
68ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dUint8, IgnorePaddingSimpleAveragePooling2dUint8Test)
69ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPadding, IgnorePaddingSimpleAveragePooling2dNoPaddingTest)
70ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPaddingUint8,
71 IgnorePaddingSimpleAveragePooling2dNoPaddingUint8Test)
72ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3, IgnorePaddingAveragePooling2dSize3Test)
73ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3Uint8, IgnorePaddingAveragePooling2dSize3Uint8Test)
74
75ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2d, IgnorePaddingSimpleL2Pooling2dTest)
76ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2dUint8, IgnorePaddingSimpleL2Pooling2dUint8Test)
77ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3, IgnorePaddingL2Pooling2dSize3Test)
78ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3Uint8, IgnorePaddingL2Pooling2dSize3Uint8Test)
79
80ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2d, SimpleAveragePooling2dTest)
81ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2dUint8, SimpleAveragePooling2dUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +010082ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2,
83 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, false)
84ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2NoPadding,
85 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, true)
telsoa014fcda012018-03-09 14:13:49 +000086
87ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2d, LargeTensorsAveragePooling2dTest)
88ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2dUint8, LargeTensorsAveragePooling2dUint8Test)
89
90ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2d, SimpleL2Pooling2dTest)
91ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2dUint8, SimpleL2Pooling2dUint8Test)
92
93ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7, L2Pooling2dSize7Test)
94ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7Uint8, L2Pooling2dSize7Uint8Test)
95
96ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2d, AsymmetricNonSquarePooling2dTest)
97ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2dUint8, AsymmetricNonSquarePooling2dUint8Test)
98
99// Activation
100ARMNN_AUTO_TEST_CASE(ConstantLinearActivation, ConstantLinearActivationTest)
101ARMNN_AUTO_TEST_CASE(ConstantLinearActivationUint8, ConstantLinearActivationUint8Test)
102
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100103// Normalization
telsoa014fcda012018-03-09 14:13:49 +0000104ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcross, SimpleNormalizationAcrossTest)
105ARMNN_AUTO_TEST_CASE(SimpleNormalizationWithin, SimpleNormalizationWithinTest)
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100106ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcrossNhwc, SimpleNormalizationAcrossNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000107
108ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1, SimpleSoftmaxTest, 1.0f)
109ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2, SimpleSoftmaxTest, 2.0f)
110ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1Uint8, SimpleSoftmaxUint8Test, 1.0f)
111ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2Uint8, SimpleSoftmaxUint8Test, 2.0f)
112
113ARMNN_AUTO_TEST_CASE(SimpleSigmoid, SimpleSigmoidTest)
114ARMNN_AUTO_TEST_CASE(SimpleSigmoidUint8, SimpleSigmoidUint8Test)
115
116ARMNN_AUTO_TEST_CASE(ReLu1, BoundedReLuUpperAndLowerBoundTest)
117ARMNN_AUTO_TEST_CASE(ReLu6, BoundedReLuUpperBoundOnlyTest)
118ARMNN_AUTO_TEST_CASE(ReLu1Uint8, BoundedReLuUint8UpperAndLowerBoundTest)
119ARMNN_AUTO_TEST_CASE(ReLu6Uint8, BoundedReLuUint8UpperBoundOnlyTest)
120
121// Fully Conected
122ARMNN_AUTO_TEST_CASE(SimpleFullyConnected, FullyConnectedFloat32Test, false, false)
123ARMNN_AUTO_TEST_CASE(FullyConnectedUint8, FullyConnectedUint8Test, false)
124ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithBias, FullyConnectedFloat32Test, true, false)
125ARMNN_AUTO_TEST_CASE(FullyConnectedBiasedUint8, FullyConnectedUint8Test, true)
126ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithTranspose, FullyConnectedFloat32Test, false, true)
127
128ARMNN_AUTO_TEST_CASE(FullyConnectedLarge, FullyConnectedLargeTest, false)
129ARMNN_AUTO_TEST_CASE(FullyConnectedLargeTransposed, FullyConnectedLargeTest, true)
130
131// Splitter
telsoa01c577f2c2018-08-31 09:22:23 +0100132ARMNN_AUTO_TEST_CASE(SimpleSplitter, SplitterTest)
133ARMNN_AUTO_TEST_CASE(SimpleSplitterUint8, SplitterUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000134
135ARMNN_AUTO_TEST_CASE(CopyViaSplitter, CopyViaSplitterTest)
136ARMNN_AUTO_TEST_CASE(CopyViaSplitterUint8, CopyViaSplitterUint8Test)
137
138// Merger
139ARMNN_AUTO_TEST_CASE(SimpleMerger, MergerTest)
140ARMNN_AUTO_TEST_CASE(MergerUint8, MergerUint8Test)
141
142// Add
143ARMNN_AUTO_TEST_CASE(SimpleAdd, AdditionTest)
144ARMNN_AUTO_TEST_CASE(AddBroadcast1Element, AdditionBroadcast1ElementTest)
145ARMNN_AUTO_TEST_CASE(AddBroadcast, AdditionBroadcastTest)
146
147ARMNN_AUTO_TEST_CASE(AdditionUint8, AdditionUint8Test)
148ARMNN_AUTO_TEST_CASE(AddBroadcastUint8, AdditionBroadcastUint8Test)
149ARMNN_AUTO_TEST_CASE(AddBroadcast1ElementUint8, AdditionBroadcast1ElementUint8Test)
150
David Beckf195f032018-09-06 16:46:34 +0100151// Sub
152ARMNN_AUTO_TEST_CASE(SimpleSub, SubtractionTest)
153ARMNN_AUTO_TEST_CASE(SubBroadcast1Element, SubtractionBroadcast1ElementTest)
154ARMNN_AUTO_TEST_CASE(SubBroadcast, SubtractionBroadcastTest)
155
David Beck4a8692c2018-09-07 16:19:24 +0100156ARMNN_AUTO_TEST_CASE(SubtractionUint8, SubtractionUint8Test)
David Beckf195f032018-09-06 16:46:34 +0100157ARMNN_AUTO_TEST_CASE(SubBroadcastUint8, SubtractionBroadcastUint8Test)
158ARMNN_AUTO_TEST_CASE(SubBroadcast1ElementUint8, SubtractionBroadcast1ElementUint8Test)
159
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100160// Div
161ARMNN_AUTO_TEST_CASE(SimpleDivision, DivisionTest)
Francis Murtagh8c5e3dc2018-08-30 17:18:37 +0100162ARMNN_AUTO_TEST_CASE(DivisionByZero, DivisionByZeroTest)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100163ARMNN_AUTO_TEST_CASE(DivisionBroadcast1Element, DivisionBroadcast1ElementTest)
164ARMNN_AUTO_TEST_CASE(DivisionBroadcast1DVector, DivisionBroadcast1DVectorTest)
David Beck5cd01f32018-09-12 16:00:08 +0100165// NOTE: division by zero for quantized div needs more attention
166// see IVGCVSW-1849
167ARMNN_AUTO_TEST_CASE(DivisionUint8, DivisionUint8Test)
168ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1Element, DivisionBroadcast1ElementUint8Test)
169ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1DVector, DivisionBroadcast1DVectorUint8Test)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100170
telsoa014fcda012018-03-09 14:13:49 +0000171// Mul
172ARMNN_AUTO_TEST_CASE(SimpleMultiplication, MultiplicationTest)
surmeh01bceff2f2018-03-29 16:29:27 +0100173ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1Element, MultiplicationBroadcast1ElementTest)
174ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVector, MultiplicationBroadcast1DVectorTest)
telsoa014fcda012018-03-09 14:13:49 +0000175ARMNN_AUTO_TEST_CASE(MultiplicationUint8, MultiplicationUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100176ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1ElementUint8, MultiplicationBroadcast1ElementUint8Test)
177ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVectorUint8, MultiplicationBroadcast1DVectorUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000178
179// Batch Norm
180ARMNN_AUTO_TEST_CASE(BatchNorm, BatchNormTest)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100181ARMNN_AUTO_TEST_CASE(BatchNormNhwc, BatchNormNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000182ARMNN_AUTO_TEST_CASE(BatchNormUint8, BatchNormUint8Test)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100183ARMNN_AUTO_TEST_CASE(BatchNormUint8Nhwc, BatchNormUint8NhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000184
James Conroy59540822018-10-11 12:39:05 +0100185// Resize Bilinear - NCHW
telsoa014fcda012018-03-09 14:13:49 +0000186ARMNN_AUTO_TEST_CASE(SimpleResizeBilinear, SimpleResizeBilinearTest)
187ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearUint8, SimpleResizeBilinearUint8Test)
188ARMNN_AUTO_TEST_CASE(ResizeBilinearNop, ResizeBilinearNopTest)
189ARMNN_AUTO_TEST_CASE(ResizeBilinearNopUint8, ResizeBilinearNopUint8Test)
190ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMin, ResizeBilinearSqMinTest)
191ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinUint8, ResizeBilinearSqMinUint8Test)
192ARMNN_AUTO_TEST_CASE(ResizeBilinearMin, ResizeBilinearMinTest)
193ARMNN_AUTO_TEST_CASE(ResizeBilinearMinUint8, ResizeBilinearMinUint8Test)
194ARMNN_AUTO_TEST_CASE(ResizeBilinearMag, ResizeBilinearMagTest)
195ARMNN_AUTO_TEST_CASE(ResizeBilinearMagUint8, ResizeBilinearMagUint8Test)
196
James Conroy59540822018-10-11 12:39:05 +0100197// Resize Bilinear - NHWC
198ARMNN_AUTO_TEST_CASE(ResizeBilinearNopNhwc, ResizeBilinearNopNhwcTest)
199ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearNhwc, SimpleResizeBilinearNhwcTest)
200ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinNhwc, ResizeBilinearSqMinNhwcTest)
201ARMNN_AUTO_TEST_CASE(ResizeBilinearMinNhwc, ResizeBilinearMinNhwcTest)
202ARMNN_AUTO_TEST_CASE(ResizeBilinearMagNhwc, ResizeBilinearMagNhwcTest)
203
telsoa014fcda012018-03-09 14:13:49 +0000204// Fake Quantization
205ARMNN_AUTO_TEST_CASE(FakeQuantization, FakeQuantizationTest)
206
Matteo Martincigh539b44d2018-10-01 09:26:39 +0100207// L2 Normalization
telsoa014fcda012018-03-09 14:13:49 +0000208ARMNN_AUTO_TEST_CASE(L2Normalization1d, L2Normalization1dTest)
209ARMNN_AUTO_TEST_CASE(L2Normalization2d, L2Normalization2dTest)
210ARMNN_AUTO_TEST_CASE(L2Normalization3d, L2Normalization3dTest)
211ARMNN_AUTO_TEST_CASE(L2Normalization4d, L2Normalization4dTest)
212
Mohamed Nour Abouelseoud7420e552018-10-12 12:26:24 +0100213// Pad
214ARMNN_AUTO_TEST_CASE(Pad2d, Pad2dTest)
215ARMNN_AUTO_TEST_CASE(Pad3d, Pad3dTest)
216ARMNN_AUTO_TEST_CASE(Pad4d, Pad4dTest)
217
Matteo Martincighb63973e2018-10-16 16:23:33 +0100218ARMNN_AUTO_TEST_CASE(L2Normalization1dNhwc, L2Normalization1dNhwcTest)
219ARMNN_AUTO_TEST_CASE(L2Normalization2dNhwc, L2Normalization2dNhwcTest)
220ARMNN_AUTO_TEST_CASE(L2Normalization3dNhwc, L2Normalization3dNhwcTest)
221ARMNN_AUTO_TEST_CASE(L2Normalization4dNhwc, L2Normalization4dNhwcTest)
Matteo Martincigh539b44d2018-10-01 09:26:39 +0100222
telsoa014fcda012018-03-09 14:13:49 +0000223// Constant
224ARMNN_AUTO_TEST_CASE(Constant, ConstantTest)
225ARMNN_AUTO_TEST_CASE(ConstantUint8, ConstantUint8Test)
226
227// Concat
228ARMNN_AUTO_TEST_CASE(Concatenation1d, Concatenation1dTest)
229ARMNN_AUTO_TEST_CASE(Concatenation1dUint8, Concatenation1dUint8Test)
230
231ARMNN_AUTO_TEST_CASE(Concatenation2dDim0, Concatenation2dDim0Test)
232ARMNN_AUTO_TEST_CASE(Concatenation2dDim0Uint8, Concatenation2dDim0Uint8Test)
233ARMNN_AUTO_TEST_CASE(Concatenation2dDim1, Concatenation2dDim1Test)
234ARMNN_AUTO_TEST_CASE(Concatenation2dDim1Uint8, Concatenation2dDim1Uint8Test)
235
236ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDims, Concatenation2dDim0DiffInputDimsTest)
237ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDimsUint8, Concatenation2dDim0DiffInputDimsUint8Test)
238ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDims, Concatenation2dDim1DiffInputDimsTest)
239ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDimsUint8, Concatenation2dDim1DiffInputDimsUint8Test)
240
241ARMNN_AUTO_TEST_CASE(Concatenation3dDim0, Concatenation3dDim0Test)
242ARMNN_AUTO_TEST_CASE(Concatenation3dDim0Uint8, Concatenation3dDim0Uint8Test)
243ARMNN_AUTO_TEST_CASE(Concatenation3dDim1, Concatenation3dDim1Test)
244ARMNN_AUTO_TEST_CASE(Concatenation3dDim1Uint8, Concatenation3dDim1Uint8Test)
245ARMNN_AUTO_TEST_CASE(Concatenation3dDim2, Concatenation3dDim2Test)
246ARMNN_AUTO_TEST_CASE(Concatenation3dDim2Uint8, Concatenation3dDim2Uint8Test)
247
248ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDims, Concatenation3dDim0DiffInputDimsTest)
249ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDimsUint8, Concatenation3dDim0DiffInputDimsUint8Test)
250ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDims, Concatenation3dDim1DiffInputDimsTest)
251ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDimsUint8, Concatenation3dDim1DiffInputDimsUint8Test)
252ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDims, Concatenation3dDim2DiffInputDimsTest)
253ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDimsUint8, Concatenation3dDim2DiffInputDimsUint8Test)
254
255// Floor
256ARMNN_AUTO_TEST_CASE(SimpleFloor, SimpleFloorTest)
257
258// Reshape
259ARMNN_AUTO_TEST_CASE(SimpleReshapeFloat32, SimpleReshapeFloat32Test)
260ARMNN_AUTO_TEST_CASE(SimpleReshapeUint8, SimpleReshapeUint8Test)
261
262// Permute
263ARMNN_AUTO_TEST_CASE(SimplePermuteFloat32, SimplePermuteFloat32Test)
264ARMNN_AUTO_TEST_CASE(SimplePermuteUint8, SimplePermuteUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100265ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet1, PermuteFloat32ValueSet1Test)
266ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet2, PermuteFloat32ValueSet2Test)
267ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet3, PermuteFloat32ValueSet3Test)
telsoa014fcda012018-03-09 14:13:49 +0000268
telsoa01c577f2c2018-08-31 09:22:23 +0100269// Convert from Float16 to Float32
270ARMNN_AUTO_TEST_CASE(SimpleConvertFp16ToFp32, SimpleConvertFp16ToFp32Test)
271// Convert from Float32 to Float16
272ARMNN_AUTO_TEST_CASE(SimpleConvertFp32ToFp16, SimpleConvertFp32ToFp16Test)
273
narpra011e4c31d2018-09-28 11:07:51 +0100274// Mean
275ARMNN_AUTO_TEST_CASE(MeanUint8Simple, MeanUint8SimpleTest)
276ARMNN_AUTO_TEST_CASE(MeanUint8SimpleAxis, MeanUint8SimpleAxisTest)
277ARMNN_AUTO_TEST_CASE(MeanUint8KeepDims, MeanUint8KeepDimsTest)
278ARMNN_AUTO_TEST_CASE(MeanUint8MultipleDims, MeanUint8MultipleDimsTest)
279ARMNN_AUTO_TEST_CASE(MeanVtsUint8, MeanVtsUint8Test)
280
281ARMNN_AUTO_TEST_CASE(MeanFloatSimple, MeanFloatSimpleTest)
282ARMNN_AUTO_TEST_CASE(MeanFloatSimpleAxis, MeanFloatSimpleAxisTest)
283ARMNN_AUTO_TEST_CASE(MeanFloatKeepDims, MeanFloatKeepDimsTest)
284ARMNN_AUTO_TEST_CASE(MeanFloatMultipleDims, MeanFloatMultipleDimsTest)
285ARMNN_AUTO_TEST_CASE(MeanVtsFloat1, MeanVtsFloat1Test)
286ARMNN_AUTO_TEST_CASE(MeanVtsFloat2, MeanVtsFloat2Test)
287
Éanna Ó Catháin47c1ddb2018-10-12 14:24:13 +0100288ARMNN_AUTO_TEST_CASE(AdditionAfterMaxPool, AdditionAfterMaxPoolTest)
289
telsoa014fcda012018-03-09 14:13:49 +0000290BOOST_AUTO_TEST_SUITE_END()