Lines Matching +full:5 +full:- +full:bin

3 // SPDX-License-Identifier: MIT
38 AddInputOperand<HalPolicy>(model, inputs[i]->GetDimensions()); in ConcatTestImpl()
83 inloc.length = inputs[i]->GetNumElements() * sizeof(float); in ConcatTestImpl()
86 input.dimensions = inputs[i]->GetDimensions(); in ConcatTestImpl()
110 AddPoolAndSetData(inputs[i]->GetNumElements(), in ConcatTestImpl()
112 inputs[i]->GetData()); in ConcatTestImpl()
117 float* outdata = static_cast<float*>(static_cast<void*>(outMemory->getPointer())); in ConcatTestImpl()
140 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {1}}; in SimpleConcatAxis0() local
144 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis0()
152 TestTensor bIn{armnn::TensorShape{3, 1, 2, 1}, {4, 5, in ConcatAxis0NoInterleave() local
159 4, 5, in ConcatAxis0NoInterleave()
164 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in ConcatAxis0NoInterleave()
171 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {1}}; in SimpleConcatAxis1() local
176 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis1()
184 TestTensor bIn{armnn::TensorShape{1, 3, 2, 1}, {4, 5, in ConcatAxis1NoInterleave() local
191 4, 5, in ConcatAxis1NoInterleave()
196 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in ConcatAxis1NoInterleave()
204 TestTensor bIn{armnn::TensorShape{2, 3, 1, 1}, {4, 5, 6, in SimpleConcatAxis1DoInterleave() local
209 TestTensor expected{armnn::TensorShape{2, 6, 1, 1}, {0, 1, 4, 5, 6, 10, in SimpleConcatAxis1DoInterleave()
212 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis1DoInterleave()
219 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {1}}; in SimpleConcatAxis2() local
224 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis2()
232 TestTensor bIn{armnn::TensorShape{1, 1, 3, 2}, {4, 5, in ConcatAxis2NoInterleave() local
239 4, 5, in ConcatAxis2NoInterleave()
244 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in ConcatAxis2NoInterleave()
252 TestTensor bIn{armnn::TensorShape{1, 2, 3, 1}, {4, 5, 6, in SimpleConcatAxis2DoInterleave() local
257 TestTensor expected{armnn::TensorShape{1, 2, 6, 1}, {0, 1, 4, 5, 6, 10, in SimpleConcatAxis2DoInterleave()
260 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis2DoInterleave()
267 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {1}}; in SimpleConcatAxis3() local
272 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis3()
280 TestTensor bIn{armnn::TensorShape{1, 1, 2, 3}, {4, 5, 6, in SimpleConcatAxis3DoInterleave() local
285 TestTensor expected{armnn::TensorShape{1, 1, 2, 6}, {0, 1, 4, 5, 6, 10, in SimpleConcatAxis3DoInterleave()
288 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxis3DoInterleave()
295 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {0}}; in AxisTooBig() local
297 // The axis must be within the range of [-rank(values), rank(values)) in AxisTooBig()
301 ConcatTestImpl({&aIn, &bIn}, axis, uncheckedOutput, computeDevice, expectedParserStatus); in AxisTooBig()
306 int32_t axis = -5; in AxisTooSmall()
308 TestTensor bIn{armnn::TensorShape{1, 1, 1, 1}, {0}}; in AxisTooSmall() local
310 // The axis must be within the range of [-rank(values), rank(values)) in AxisTooSmall()
314 ConcatTestImpl({&aIn, &bIn}, axis, uncheckedOutput, computeDevice, expectedParserStatus); in AxisTooSmall()
332 TestTensor bIn{armnn::TensorShape{1, 1, 2, 3}, {4, 5, 6, in MismatchedInputDimensions() local
336 TestTensor expected{armnn::TensorShape{1, 1, 2, 6}, {0, 1, 4, 5, 6, 10, in MismatchedInputDimensions()
341 ConcatTestImpl({&aIn, &bIn, &mismatched}, axis, expected, computeDevice, expectedParserStatus); in MismatchedInputDimensions()
348 TestTensor bIn{armnn::TensorShape{1, 1}, {4}}; in MismatchedInputRanks() local
353 ConcatTestImpl({&aIn, &bIn}, axis, expected, computeDevice, expectedParserStatus); in MismatchedInputRanks()
361 TestTensor bIn{armnn::TensorShape{1, 1, 2, 3}, {4, 5, 6, in MismatchedOutputDimensions() local
366 TestTensor mismatched{armnn::TensorShape{1, 1, 6, 2}, {0, 1, 4, 5, 6, 10, in MismatchedOutputDimensions()
371 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, mismatched, computeDevice, expectedParserStatus); in MismatchedOutputDimensions()
379 TestTensor bIn{armnn::TensorShape{1, 1, 2, 3}, {4, 5, 6, in MismatchedOutputRank() local
384 TestTensor mismatched{armnn::TensorShape{6, 2}, {0, 1, 4, 5, 6, 10, in MismatchedOutputRank()
389 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, mismatched, computeDevice, expectedParserStatus); in MismatchedOutputRank()
396 int32_t axis = -1; in ValidNegativeAxis()
399 TestTensor bIn{armnn::TensorShape{1, 1, 2, 3}, {4, 5, 6, in ValidNegativeAxis() local
404 TestTensor expected{armnn::TensorShape{1, 1, 2, 6}, {0, 1, 4, 5, 6, 10, in ValidNegativeAxis()
407 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in ValidNegativeAxis()
414 TestTensor bIn{armnn::TensorShape{1, 1, 1}, {1}}; in SimpleConcatAxisZero3D() local
419 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisZero3D()
426 TestTensor bIn{armnn::TensorShape{1, 1, 1}, {1}}; in SimpleConcatAxisOne3D() local
431 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisOne3D()
438 TestTensor bIn{armnn::TensorShape{1, 1, 1}, {1}}; in SimpleConcatAxisTwo3D() local
443 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisTwo3D()
450 TestTensor bIn{armnn::TensorShape{1, 1}, {1}}; in SimpleConcatAxisZero2D() local
455 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisZero2D()
462 TestTensor bIn{armnn::TensorShape{1, 1}, {1}}; in SimpleConcatAxisOne2D() local
467 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisOne2D()
474 TestTensor bIn{armnn::TensorShape{1}, {1}}; in SimpleConcatAxisZero1D() local
478 ConcatTestImpl({&aIn, &bIn, &cIn}, axis, expected, computeDevice); in SimpleConcatAxisZero1D()