blob: 259739ba5567cd416dc63698ad815a116ad103d7 [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
Nikhil Raje4dfd6e2018-10-18 10:11:04 +010039ARMNN_AUTO_TEST_CASE(SimpleConvolution2dSquareNhwc, SimpleConvolution2d3x3NhwcTest, false)
40
telsoa014fcda012018-03-09 14:13:49 +000041// Depthwise Convolution
42ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2d, DepthwiseConvolution2dTest, true)
43ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dUint8, DepthwiseConvolution2dUint8Test, true)
44
45ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2d, DepthwiseConvolution2dTest, false)
46ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dUint8, DepthwiseConvolution2dUint8Test, false)
47
48ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, true)
49ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, true)
50
51ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1, DepthwiseConvolution2dDepthMul1Test, false)
52ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dDepthMul1Uint8, DepthwiseConvolution2dDepthMul1Uint8Test, false)
53
surmeh013537c2c2018-05-18 16:31:43 +010054ARMNN_AUTO_TEST_CASE(DepthwiseConvolution2dAsymmetric, DepthwiseConvolution2dAsymmetricTest, true)
55ARMNN_AUTO_TEST_CASE(UnbiasedDepthwiseConvolution2dAsymmetric, DepthwiseConvolution2dAsymmetricTest, false)
56
telsoa014fcda012018-03-09 14:13:49 +000057// Pooling
58ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2, SimpleMaxPooling2dSize2x2Stride2x2Test, false)
59ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize2x2Stride2x2Uint8, SimpleMaxPooling2dSize2x2Stride2x2Uint8Test, false)
60
61ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4, SimpleMaxPooling2dSize3x3Stride2x4Test, false)
62ARMNN_AUTO_TEST_CASE(SimpleMaxPooling2dSize3x3Stride2x4Uint8, SimpleMaxPooling2dSize3x3Stride2x4Uint8Test, false)
63
64ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2d, IgnorePaddingSimpleMaxPooling2dTest)
65ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleMaxPooling2dUint8, IgnorePaddingSimpleMaxPooling2dUint8Test)
66ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3, IgnorePaddingMaxPooling2dSize3Test)
67ARMNN_AUTO_TEST_CASE(IgnorePaddingMaxPooling2dSize3Uint8, IgnorePaddingMaxPooling2dSize3Uint8Test)
68
69ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2d, IgnorePaddingSimpleAveragePooling2dTest)
70ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dUint8, IgnorePaddingSimpleAveragePooling2dUint8Test)
71ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPadding, IgnorePaddingSimpleAveragePooling2dNoPaddingTest)
72ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleAveragePooling2dNoPaddingUint8,
73 IgnorePaddingSimpleAveragePooling2dNoPaddingUint8Test)
74ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3, IgnorePaddingAveragePooling2dSize3Test)
75ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3Uint8, IgnorePaddingAveragePooling2dSize3Uint8Test)
76
77ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2d, IgnorePaddingSimpleL2Pooling2dTest)
78ARMNN_AUTO_TEST_CASE(IgnorePaddingSimpleL2Pooling2dUint8, IgnorePaddingSimpleL2Pooling2dUint8Test)
79ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3, IgnorePaddingL2Pooling2dSize3Test)
80ARMNN_AUTO_TEST_CASE(IgnorePaddingL2Pooling2dSize3Uint8, IgnorePaddingL2Pooling2dSize3Uint8Test)
81
82ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2d, SimpleAveragePooling2dTest)
83ARMNN_AUTO_TEST_CASE(SimpleAveragePooling2dUint8, SimpleAveragePooling2dUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +010084ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2,
85 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, false)
86ARMNN_AUTO_TEST_CASE(IgnorePaddingAveragePooling2dSize3x2Stride2x2NoPadding,
87 IgnorePaddingAveragePooling2dSize3x2Stride2x2Test, true)
telsoa014fcda012018-03-09 14:13:49 +000088
89ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2d, LargeTensorsAveragePooling2dTest)
90ARMNN_AUTO_TEST_CASE(LargeTensorsAveragePooling2dUint8, LargeTensorsAveragePooling2dUint8Test)
91
92ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2d, SimpleL2Pooling2dTest)
93ARMNN_AUTO_TEST_CASE(SimpleL2Pooling2dUint8, SimpleL2Pooling2dUint8Test)
94
95ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7, L2Pooling2dSize7Test)
96ARMNN_AUTO_TEST_CASE(L2Pooling2dSize7Uint8, L2Pooling2dSize7Uint8Test)
97
98ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2d, AsymmetricNonSquarePooling2dTest)
99ARMNN_AUTO_TEST_CASE(AsymmNonSquarePooling2dUint8, AsymmetricNonSquarePooling2dUint8Test)
100
101// Activation
102ARMNN_AUTO_TEST_CASE(ConstantLinearActivation, ConstantLinearActivationTest)
103ARMNN_AUTO_TEST_CASE(ConstantLinearActivationUint8, ConstantLinearActivationUint8Test)
104
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100105// Normalization
telsoa014fcda012018-03-09 14:13:49 +0000106ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcross, SimpleNormalizationAcrossTest)
107ARMNN_AUTO_TEST_CASE(SimpleNormalizationWithin, SimpleNormalizationWithinTest)
Matteo Martincigh8e6f92d2018-10-18 08:45:39 +0100108ARMNN_AUTO_TEST_CASE(SimpleNormalizationAcrossNhwc, SimpleNormalizationAcrossNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000109
110ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1, SimpleSoftmaxTest, 1.0f)
111ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2, SimpleSoftmaxTest, 2.0f)
112ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta1Uint8, SimpleSoftmaxUint8Test, 1.0f)
113ARMNN_AUTO_TEST_CASE(SimpleSoftmaxBeta2Uint8, SimpleSoftmaxUint8Test, 2.0f)
114
115ARMNN_AUTO_TEST_CASE(SimpleSigmoid, SimpleSigmoidTest)
116ARMNN_AUTO_TEST_CASE(SimpleSigmoidUint8, SimpleSigmoidUint8Test)
117
118ARMNN_AUTO_TEST_CASE(ReLu1, BoundedReLuUpperAndLowerBoundTest)
119ARMNN_AUTO_TEST_CASE(ReLu6, BoundedReLuUpperBoundOnlyTest)
120ARMNN_AUTO_TEST_CASE(ReLu1Uint8, BoundedReLuUint8UpperAndLowerBoundTest)
121ARMNN_AUTO_TEST_CASE(ReLu6Uint8, BoundedReLuUint8UpperBoundOnlyTest)
122
123// Fully Conected
124ARMNN_AUTO_TEST_CASE(SimpleFullyConnected, FullyConnectedFloat32Test, false, false)
125ARMNN_AUTO_TEST_CASE(FullyConnectedUint8, FullyConnectedUint8Test, false)
126ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithBias, FullyConnectedFloat32Test, true, false)
127ARMNN_AUTO_TEST_CASE(FullyConnectedBiasedUint8, FullyConnectedUint8Test, true)
128ARMNN_AUTO_TEST_CASE(SimpleFullyConnectedWithTranspose, FullyConnectedFloat32Test, false, true)
129
130ARMNN_AUTO_TEST_CASE(FullyConnectedLarge, FullyConnectedLargeTest, false)
131ARMNN_AUTO_TEST_CASE(FullyConnectedLargeTransposed, FullyConnectedLargeTest, true)
132
133// Splitter
telsoa01c577f2c2018-08-31 09:22:23 +0100134ARMNN_AUTO_TEST_CASE(SimpleSplitter, SplitterTest)
135ARMNN_AUTO_TEST_CASE(SimpleSplitterUint8, SplitterUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000136
137ARMNN_AUTO_TEST_CASE(CopyViaSplitter, CopyViaSplitterTest)
138ARMNN_AUTO_TEST_CASE(CopyViaSplitterUint8, CopyViaSplitterUint8Test)
139
140// Merger
141ARMNN_AUTO_TEST_CASE(SimpleMerger, MergerTest)
142ARMNN_AUTO_TEST_CASE(MergerUint8, MergerUint8Test)
143
144// Add
145ARMNN_AUTO_TEST_CASE(SimpleAdd, AdditionTest)
146ARMNN_AUTO_TEST_CASE(AddBroadcast1Element, AdditionBroadcast1ElementTest)
147ARMNN_AUTO_TEST_CASE(AddBroadcast, AdditionBroadcastTest)
148
149ARMNN_AUTO_TEST_CASE(AdditionUint8, AdditionUint8Test)
150ARMNN_AUTO_TEST_CASE(AddBroadcastUint8, AdditionBroadcastUint8Test)
151ARMNN_AUTO_TEST_CASE(AddBroadcast1ElementUint8, AdditionBroadcast1ElementUint8Test)
152
David Beckf195f032018-09-06 16:46:34 +0100153// Sub
154ARMNN_AUTO_TEST_CASE(SimpleSub, SubtractionTest)
155ARMNN_AUTO_TEST_CASE(SubBroadcast1Element, SubtractionBroadcast1ElementTest)
156ARMNN_AUTO_TEST_CASE(SubBroadcast, SubtractionBroadcastTest)
157
David Beck4a8692c2018-09-07 16:19:24 +0100158ARMNN_AUTO_TEST_CASE(SubtractionUint8, SubtractionUint8Test)
David Beckf195f032018-09-06 16:46:34 +0100159ARMNN_AUTO_TEST_CASE(SubBroadcastUint8, SubtractionBroadcastUint8Test)
160ARMNN_AUTO_TEST_CASE(SubBroadcast1ElementUint8, SubtractionBroadcast1ElementUint8Test)
161
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100162// Div
163ARMNN_AUTO_TEST_CASE(SimpleDivision, DivisionTest)
Francis Murtagh8c5e3dc2018-08-30 17:18:37 +0100164ARMNN_AUTO_TEST_CASE(DivisionByZero, DivisionByZeroTest)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100165ARMNN_AUTO_TEST_CASE(DivisionBroadcast1Element, DivisionBroadcast1ElementTest)
166ARMNN_AUTO_TEST_CASE(DivisionBroadcast1DVector, DivisionBroadcast1DVectorTest)
David Beck5cd01f32018-09-12 16:00:08 +0100167// NOTE: division by zero for quantized div needs more attention
168// see IVGCVSW-1849
169ARMNN_AUTO_TEST_CASE(DivisionUint8, DivisionUint8Test)
170ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1Element, DivisionBroadcast1ElementUint8Test)
171ARMNN_AUTO_TEST_CASE(DivisionUint8Broadcast1DVector, DivisionBroadcast1DVectorUint8Test)
Francis Murtaghe7a86a42018-08-29 12:42:10 +0100172
telsoa014fcda012018-03-09 14:13:49 +0000173// Mul
174ARMNN_AUTO_TEST_CASE(SimpleMultiplication, MultiplicationTest)
surmeh01bceff2f2018-03-29 16:29:27 +0100175ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1Element, MultiplicationBroadcast1ElementTest)
176ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVector, MultiplicationBroadcast1DVectorTest)
telsoa014fcda012018-03-09 14:13:49 +0000177ARMNN_AUTO_TEST_CASE(MultiplicationUint8, MultiplicationUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100178ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1ElementUint8, MultiplicationBroadcast1ElementUint8Test)
179ARMNN_AUTO_TEST_CASE(MultiplicationBroadcast1DVectorUint8, MultiplicationBroadcast1DVectorUint8Test)
telsoa014fcda012018-03-09 14:13:49 +0000180
181// Batch Norm
182ARMNN_AUTO_TEST_CASE(BatchNorm, BatchNormTest)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100183ARMNN_AUTO_TEST_CASE(BatchNormNhwc, BatchNormNhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000184ARMNN_AUTO_TEST_CASE(BatchNormUint8, BatchNormUint8Test)
Matteo Martincigh8eb675e2018-10-17 14:43:29 +0100185ARMNN_AUTO_TEST_CASE(BatchNormUint8Nhwc, BatchNormUint8NhwcTest)
telsoa014fcda012018-03-09 14:13:49 +0000186
James Conroy59540822018-10-11 12:39:05 +0100187// Resize Bilinear - NCHW
telsoa014fcda012018-03-09 14:13:49 +0000188ARMNN_AUTO_TEST_CASE(SimpleResizeBilinear, SimpleResizeBilinearTest)
189ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearUint8, SimpleResizeBilinearUint8Test)
190ARMNN_AUTO_TEST_CASE(ResizeBilinearNop, ResizeBilinearNopTest)
191ARMNN_AUTO_TEST_CASE(ResizeBilinearNopUint8, ResizeBilinearNopUint8Test)
192ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMin, ResizeBilinearSqMinTest)
193ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinUint8, ResizeBilinearSqMinUint8Test)
194ARMNN_AUTO_TEST_CASE(ResizeBilinearMin, ResizeBilinearMinTest)
195ARMNN_AUTO_TEST_CASE(ResizeBilinearMinUint8, ResizeBilinearMinUint8Test)
196ARMNN_AUTO_TEST_CASE(ResizeBilinearMag, ResizeBilinearMagTest)
197ARMNN_AUTO_TEST_CASE(ResizeBilinearMagUint8, ResizeBilinearMagUint8Test)
198
James Conroy59540822018-10-11 12:39:05 +0100199// Resize Bilinear - NHWC
200ARMNN_AUTO_TEST_CASE(ResizeBilinearNopNhwc, ResizeBilinearNopNhwcTest)
201ARMNN_AUTO_TEST_CASE(SimpleResizeBilinearNhwc, SimpleResizeBilinearNhwcTest)
202ARMNN_AUTO_TEST_CASE(ResizeBilinearSqMinNhwc, ResizeBilinearSqMinNhwcTest)
203ARMNN_AUTO_TEST_CASE(ResizeBilinearMinNhwc, ResizeBilinearMinNhwcTest)
204ARMNN_AUTO_TEST_CASE(ResizeBilinearMagNhwc, ResizeBilinearMagNhwcTest)
205
telsoa014fcda012018-03-09 14:13:49 +0000206// Fake Quantization
207ARMNN_AUTO_TEST_CASE(FakeQuantization, FakeQuantizationTest)
208
Matteo Martincigh539b44d2018-10-01 09:26:39 +0100209// L2 Normalization
telsoa014fcda012018-03-09 14:13:49 +0000210ARMNN_AUTO_TEST_CASE(L2Normalization1d, L2Normalization1dTest)
211ARMNN_AUTO_TEST_CASE(L2Normalization2d, L2Normalization2dTest)
212ARMNN_AUTO_TEST_CASE(L2Normalization3d, L2Normalization3dTest)
213ARMNN_AUTO_TEST_CASE(L2Normalization4d, L2Normalization4dTest)
214
Mohamed Nour Abouelseoud7420e552018-10-12 12:26:24 +0100215// Pad
216ARMNN_AUTO_TEST_CASE(Pad2d, Pad2dTest)
217ARMNN_AUTO_TEST_CASE(Pad3d, Pad3dTest)
218ARMNN_AUTO_TEST_CASE(Pad4d, Pad4dTest)
219
Matteo Martincighb63973e2018-10-16 16:23:33 +0100220ARMNN_AUTO_TEST_CASE(L2Normalization1dNhwc, L2Normalization1dNhwcTest)
221ARMNN_AUTO_TEST_CASE(L2Normalization2dNhwc, L2Normalization2dNhwcTest)
222ARMNN_AUTO_TEST_CASE(L2Normalization3dNhwc, L2Normalization3dNhwcTest)
223ARMNN_AUTO_TEST_CASE(L2Normalization4dNhwc, L2Normalization4dNhwcTest)
Matteo Martincigh539b44d2018-10-01 09:26:39 +0100224
telsoa014fcda012018-03-09 14:13:49 +0000225// Constant
226ARMNN_AUTO_TEST_CASE(Constant, ConstantTest)
227ARMNN_AUTO_TEST_CASE(ConstantUint8, ConstantUint8Test)
228
229// Concat
230ARMNN_AUTO_TEST_CASE(Concatenation1d, Concatenation1dTest)
231ARMNN_AUTO_TEST_CASE(Concatenation1dUint8, Concatenation1dUint8Test)
232
233ARMNN_AUTO_TEST_CASE(Concatenation2dDim0, Concatenation2dDim0Test)
234ARMNN_AUTO_TEST_CASE(Concatenation2dDim0Uint8, Concatenation2dDim0Uint8Test)
235ARMNN_AUTO_TEST_CASE(Concatenation2dDim1, Concatenation2dDim1Test)
236ARMNN_AUTO_TEST_CASE(Concatenation2dDim1Uint8, Concatenation2dDim1Uint8Test)
237
238ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDims, Concatenation2dDim0DiffInputDimsTest)
239ARMNN_AUTO_TEST_CASE(Concatenation2dDim0DiffInputDimsUint8, Concatenation2dDim0DiffInputDimsUint8Test)
240ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDims, Concatenation2dDim1DiffInputDimsTest)
241ARMNN_AUTO_TEST_CASE(Concatenation2dDim1DiffInputDimsUint8, Concatenation2dDim1DiffInputDimsUint8Test)
242
243ARMNN_AUTO_TEST_CASE(Concatenation3dDim0, Concatenation3dDim0Test)
244ARMNN_AUTO_TEST_CASE(Concatenation3dDim0Uint8, Concatenation3dDim0Uint8Test)
245ARMNN_AUTO_TEST_CASE(Concatenation3dDim1, Concatenation3dDim1Test)
246ARMNN_AUTO_TEST_CASE(Concatenation3dDim1Uint8, Concatenation3dDim1Uint8Test)
247ARMNN_AUTO_TEST_CASE(Concatenation3dDim2, Concatenation3dDim2Test)
248ARMNN_AUTO_TEST_CASE(Concatenation3dDim2Uint8, Concatenation3dDim2Uint8Test)
249
250ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDims, Concatenation3dDim0DiffInputDimsTest)
251ARMNN_AUTO_TEST_CASE(Concatenation3dDim0DiffInputDimsUint8, Concatenation3dDim0DiffInputDimsUint8Test)
252ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDims, Concatenation3dDim1DiffInputDimsTest)
253ARMNN_AUTO_TEST_CASE(Concatenation3dDim1DiffInputDimsUint8, Concatenation3dDim1DiffInputDimsUint8Test)
254ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDims, Concatenation3dDim2DiffInputDimsTest)
255ARMNN_AUTO_TEST_CASE(Concatenation3dDim2DiffInputDimsUint8, Concatenation3dDim2DiffInputDimsUint8Test)
256
257// Floor
258ARMNN_AUTO_TEST_CASE(SimpleFloor, SimpleFloorTest)
259
260// Reshape
261ARMNN_AUTO_TEST_CASE(SimpleReshapeFloat32, SimpleReshapeFloat32Test)
262ARMNN_AUTO_TEST_CASE(SimpleReshapeUint8, SimpleReshapeUint8Test)
263
264// Permute
265ARMNN_AUTO_TEST_CASE(SimplePermuteFloat32, SimplePermuteFloat32Test)
266ARMNN_AUTO_TEST_CASE(SimplePermuteUint8, SimplePermuteUint8Test)
surmeh01bceff2f2018-03-29 16:29:27 +0100267ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet1, PermuteFloat32ValueSet1Test)
268ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet2, PermuteFloat32ValueSet2Test)
269ARMNN_AUTO_TEST_CASE(PermuteFloat32ValueSet3, PermuteFloat32ValueSet3Test)
telsoa014fcda012018-03-09 14:13:49 +0000270
telsoa01c577f2c2018-08-31 09:22:23 +0100271// Convert from Float16 to Float32
272ARMNN_AUTO_TEST_CASE(SimpleConvertFp16ToFp32, SimpleConvertFp16ToFp32Test)
273// Convert from Float32 to Float16
274ARMNN_AUTO_TEST_CASE(SimpleConvertFp32ToFp16, SimpleConvertFp32ToFp16Test)
275
narpra011e4c31d2018-09-28 11:07:51 +0100276// Mean
277ARMNN_AUTO_TEST_CASE(MeanUint8Simple, MeanUint8SimpleTest)
278ARMNN_AUTO_TEST_CASE(MeanUint8SimpleAxis, MeanUint8SimpleAxisTest)
279ARMNN_AUTO_TEST_CASE(MeanUint8KeepDims, MeanUint8KeepDimsTest)
280ARMNN_AUTO_TEST_CASE(MeanUint8MultipleDims, MeanUint8MultipleDimsTest)
281ARMNN_AUTO_TEST_CASE(MeanVtsUint8, MeanVtsUint8Test)
282
283ARMNN_AUTO_TEST_CASE(MeanFloatSimple, MeanFloatSimpleTest)
284ARMNN_AUTO_TEST_CASE(MeanFloatSimpleAxis, MeanFloatSimpleAxisTest)
285ARMNN_AUTO_TEST_CASE(MeanFloatKeepDims, MeanFloatKeepDimsTest)
286ARMNN_AUTO_TEST_CASE(MeanFloatMultipleDims, MeanFloatMultipleDimsTest)
287ARMNN_AUTO_TEST_CASE(MeanVtsFloat1, MeanVtsFloat1Test)
288ARMNN_AUTO_TEST_CASE(MeanVtsFloat2, MeanVtsFloat2Test)
289
Éanna Ó Catháin47c1ddb2018-10-12 14:24:13 +0100290ARMNN_AUTO_TEST_CASE(AdditionAfterMaxPool, AdditionAfterMaxPoolTest)
291
telsoa014fcda012018-03-09 14:13:49 +0000292BOOST_AUTO_TEST_SUITE_END()