/aosp_15_r20/external/armnn/delegate/test/ |
H A D | ReduceTest.cpp | 20 std::vector<uint8_t>& expectedOutputValues) in ReduceUint8KeepDimsTest() 44 std::vector<uint8_t>& expectedOutputValues) in ReduceUint8Test() 68 std::vector<float>& expectedOutputValues) in ReduceFp32KeepDimsTest() 92 std::vector<float>& expectedOutputValues) in ReduceFp32Test() 121 std::vector<uint8_t> expectedOutputValues { 4, 3, 3 }; variable 130 std::vector<uint8_t> expectedOutputValues { 4, 3, 3 }; variable 139 std::vector<float> expectedOutputValues { 1001.0f, 1002.0f, 1003.0f }; variable 148 std::vector<float> expectedOutputValues { 1001.0f, 1002.0f, 1003.0f }; variable 162 std::vector<uint8_t> expectedOutputValues { 4, 3, 3 }; variable 171 std::vector<uint8_t> expectedOutputValues { 4, 3, 3 }; variable [all …]
|
H A D | ElementwiseUnaryTest.cpp | 36 std::vector<float> expectedOutputValues(inputValues.size()); variable 56 std::vector<float> expectedOutputValues variable 77 std::vector<float> expectedOutputValues variable 97 std::vector<float> expectedOutputValues variable 117 std::vector<float> expectedOutputValues variable 137 std::vector<float> expectedOutputValues variable 163 std::vector<float> expectedOutputValues(inputValues.size()); variable 184 std::vector<float> expectedOutputValues variable 205 std::vector<float> expectedOutputValues variable 225 std::vector<float> expectedOutputValues variable [all …]
|
H A D | Pooling2dTest.cpp | 32 std::vector<float> expectedOutputValues = { 12.0f, 7.0f }; in MaxPool2dFP32PaddingValidTest() local 58 std::vector<int8_t> expectedOutputValues = { 12, 7 }; in MaxPool2dInt8PaddingValidTest() local 87 std::vector<float> expectedOutputValues = { 12.0f, 7.0f, 3.0f, -1.0f }; in MaxPool2dFP32PaddingSameTest() local 113 std::vector<int8_t> expectedOutputValues = { 12, 7, 3, -1 }; in MaxPool2dInt8PaddingSameTest() local 142 std::vector<float> expectedOutputValues = { 0.0f, 0.0f, 7.0f, 3.0f, 0.0f, 2.0f }; in MaxPool2dFP32ReluTest() local 169 std::vector<int8_t> expectedOutputValues = { 1, 1, 7, 3, 1, 2 }; in MaxPool2dInt8ReluTest() local 198 std::vector<float> expectedOutputValues = { 0.0f, 0.0f, 3.0f, 0.0f }; in MaxPool2dFP32Relu6Test() local 225 std::vector<int8_t> expectedOutputValues = { 1, 1, 3, 1 }; in MaxPool2dInt8Relu6Test() local 254 std::vector<uint8_t> expectedOutputValues = { 12, 15, 4, 11 }; in MaxPool2dUint8PaddingSameTest() local 283 std::vector<uint8_t> expectedOutputValues = { 12, 10, 15, 8, 7, 11 }; in MaxPool2dUint8ReluTest() local [all …]
|
H A D | BatchMatMulTest.cpp | 31 std::vector<float> expectedOutputValues = { 19, 22, in BatchMatMul2DFp32SimpleTest() local 59 std::vector<int8_t> expectedOutputValues = { 19, 22, in BatchMatMul2DInt8SimpleTest() local 88 std::vector<float> expectedOutputValues = { 19, 22, in BatchMatMul3DFp32SimpleTest() local 117 std::vector<int8_t> expectedOutputValues = { 19, 22, in BatchMatMul3DInt8SimpleTest() local 146 std::vector<float> expectedOutputValues = { 19, 22, in BatchMatMul4DFp32SimpleTest() local 175 std::vector<int8_t> expectedOutputValues = { 19, 22, in BatchMatMul4DInt8SimpleTest() local 210 std::vector<float> expectedOutputValues = { 19, 22, in BatchMatMul3DFp32BatchTest() local 248 std::vector<int8_t> expectedOutputValues = { 19, 22, in BatchMatMul3DInt8BatchTest() local 283 std::vector<float> expectedOutputValues = { 43, 46, in BatchMatMul3DFp32BroadcastTest() local 318 std::vector<int8_t> expectedOutputValues = { 7, 10, in BatchMatMul3DInt8BroadcastTest() local [all …]
|
H A D | ElementwiseBinaryTest.cpp | 58 std::vector<float> expectedOutputValues = in AddFP32Test() local 108 std::vector<float> expectedOutputValues in AddBroadcastTest() local 154 std::vector<float> expectedOutputValues in AddConstInputTest() local 189 std::vector<float> expectedOutputValues { 4.7f, 0.0f, 1.5f, 0.0f }; in AddActivationTest() local 221 std::vector<uint8_t> expectedOutputValues = in AddUint8Test() local 258 std::vector<float> expectedOutputValues = in DivFP32Test() local 284 std::vector<float> expectedOutputValues = { 1, 2, 3, 4, 5, 6, 7, 8 }; in DivBroadcastTest() local 317 std::vector<uint8_t> expectedOutputValues = in DivUint8Test() local 353 std::vector<float> expectedOutputValues = in FloorDivFP32Test() local 391 std::vector<float> expectedOutputValues = in MaxFP32Test() local [all …]
|
H A D | ComparisonTest.cpp | 40 std::vector<bool> expectedOutputValues = in EqualFP32Test() local 71 std::vector<bool> expectedOutputValues in EqualBroadcastTest() local 97 std::vector<bool> expectedOutputValues = { 1, 0, 0, 1 }; in EqualInt32Test() local 128 std::vector<bool> expectedOutputValues = in NotEqualFP32Test() local 158 std::vector<bool> expectedOutputValues in NotEqualBroadcastTest() local 184 std::vector<bool> expectedOutputValues = { 0, 1, 1, 0 }; in NotEqualInt32Test() local 207 std::vector<bool> expectedOutputValues = { 0, 1, 0, 0 }; in GreaterFP32Test() local 233 std::vector<bool> expectedOutputValues in GreaterBroadcastTest() local 259 std::vector<bool> expectedOutputValues = { 0, 1, 0, 0 }; in GreaterInt32Test() local 282 std::vector<bool> expectedOutputValues = { true, true, false, true }; in GreaterEqualFP32Test() local [all …]
|
H A D | QuantizationTest.cpp | 30 std::vector<float> expectedOutputValues in DequantizeUint8Test() local 56 std::vector<float> expectedOutputValues in DequantizeInt8Test() local 82 std::vector<float> expectedOutputValues in DequantizeInt16Test() local 110 std::vector<uint8_t> expectedOutputValues in QuantizeFloat32Uint8Test() local 136 std::vector<int8_t> expectedOutputValues in QuantizeFloat32Int8Test() local 162 std::vector<int16_t> expectedOutputValues in QuantizeFloat32Int16Test() local 188 std::vector<int16_t> expectedOutputValues in QuantizeInt16Int16Test() local 214 std::vector<int8_t> expectedOutputValues in QuantizeInt16Int8Test() local 240 std::vector<uint8_t> expectedOutputValues in QuantizeInt8Uint8Test() local 266 std::vector<int8_t> expectedOutputValues in QuantizeUint8Int8Test() local
|
H A D | ControlTest.cpp | 31 std::vector<uint8_t> expectedOutputValues { 0, 1, 2, 3, 252, 253, 254, 255 }; in ConcatUint8TwoInputsTest() local 53 std::vector<int16_t> expectedOutputValues { -32768, -16384, -1, 0, 1, 2, 16384, 32767}; in ConcatInt16TwoInputsTest() local 75 std::vector<float> expectedOutputValues { -127.f, -126.f, -1.f, 0.f, 1.f, 2.f, 126.f, 127.f }; in ConcatFloat32TwoInputsTest() local 99 … std::vector<uint8_t> expectedOutputValues { 0, 1, 2, 3, 125, 126, 127, 128, 252, 253, 254, 255 }; in ConcatThreeInputsTest() local 121 std::vector<uint8_t> expectedOutputValues { 0, 1, 252, 253, 2, 3, 254, 255 }; in ConcatAxisTest() local 143 std::vector<uint8_t> expectedOutputValues { 10 }; in MeanUint8KeepDimsTest() local 166 std::vector<uint8_t> expectedOutputValues { 5, 10, 15, 20 }; in MeanUint8Test() local 189 std::vector<float> expectedOutputValues { 1.5f, 2.0f }; in MeanFp32KeepDimsTest() local 212 std::vector<float> expectedOutputValues { 1.25f, 2.25f }; in MeanFp32Test() local
|
H A D | Pooling3dTest.cpp | 35 std::vector<float> expectedOutputValues = { 6, 6, 4 }; in MaxPool3dFP32PaddingValidTest() local 68 std::vector<float> expectedOutputValues = { 6, 6, 4, 4, 6, 6, 6, 6, 4, 5, 6, 6, 6, 6, 4, 4 }; in MaxPool3dFP32PaddingSameTest() local 101 std::vector<float> expectedOutputValues = { 2, 3 }; in MaxPool3dFP32H1Test() local 134 std::vector<float> expectedOutputValues = { 6, 6 }; in MaxPool3dFP32Test() local 167 std::vector<float> expectedOutputValues = { 3.5, 3, 2.5 }; in AveragePool3dFP32PaddingValidTest() local 200 …std::vector<float> expectedOutputValues = { 3, 4, 4.5, 4.5, 5.5, 6, 3, 4, 4.5, 4.5, 5.5, 6, 3, 4, … in AveragePool3dFP32PaddingSameTest() local 233 std::vector<float> expectedOutputValues = { 1.5, 3.5 }; in AveragePool3dFP32H1Test() local 266 std::vector<float> expectedOutputValues = { 3.125, 4.25 }; in AveragePool3dFP32Test() local
|
H A D | ReshapeTest.cpp | 33 std::vector<float> expectedOutputValues = { -5.0f, 8.0f, -10.0f, 7.0f, in ReshapeSimpleTest() local 61 std::vector<Half> expectedOutputValues = { 5._h, -8._h, -10._h, 7._h, in ReshapeSimpleFloat16Test() local 87 std::vector<float> expectedOutputValues = { -5.0f, 8.0f, -10.0f, 7.0f, in ReshapeReduceDimTest() local 113 std::vector<float> expectedOutputValues = { -5.0f, 8.0f, -10.0f, 7.0f, in ReshapeFlattenTest() local 139 std::vector<float> expectedOutputValues = { -5.0f, 8.0f, -10.0f, 7.0f, in ReshapeFlattenAllTest() local 165 std::vector<int8_t> expectedOutputValues = { -5, 8, -10, 7, in ReshapeInt8Test() local 193 std::vector<uint8_t> expectedOutputValues = { 5, 8, 10, 7, in ReshapeUint8Test() local 221 std::vector<int16_t> expectedOutputValues = { -5, 8, -10, 7, in ReshapeInt16Test() local
|
H A D | MirrorPadTest.cpp | 32 std::vector<float> expectedOutputValues = in MirrorPadSymmetric2dTest() local 74 std::vector<float> expectedOutputValues = in MirrorPadReflect2dTest() local 120 std::vector<float> expectedOutputValues = in MirrorPadSymmetric3dTest() local 178 std::vector<float> expectedOutputValues = in MirrorPadReflect3dTest() local 232 std::vector<uint8_t> expectedOutputValues = in MirrorPadSymmetricUint8Test() local 272 std::vector<int8_t> expectedOutputValues = in MirrorPadReflectInt8Test() local
|
H A D | BatchSpaceTest.cpp | 25 std::vector<float> expectedOutputValues { 1.0f, 2.0f, 3.0f, 4.0f }; in BatchToSpaceNDFp32Test() local 47 std::vector<float> expectedOutputValues { 1.0f, 2.0f, 3.0f, 4.0f }; in BatchToSpaceNDFp32BatchOneTest() local 69 std::vector<uint8_t> expectedOutputValues { 1, 2, 3, 4, 5, 6, 7 }; in BatchToSpaceNDUint8Test() local 92 std::vector<float> expectedOutputValues { 1.0f, 2.0f, 3.0f, 4.0f }; in SpaceToBatchNDFp32Test() local 118 std::vector<float> expectedOutputValues { 0.0f, 1.0f, 3.0f, 0.0f, 9.0f, 11.0f, in SpaceToBatchNDFp32PaddingTest() local 143 std::vector<uint8_t> expectedOutputValues { 1, 2, 3, 4, 5, 6, 7 }; in SpaceToBatchNDUint8Test() local
|
H A D | Convolution2dTest.cpp | 48 std::vector<float> expectedOutputValues = in Conv2DWithBiasesFp32Test() local 90 std::vector<int8_t> expectedOutputValues = in Conv2DWithBiasesInt8Test() local 142 std::vector<uint8_t> expectedOutputValues = in Conv2DWithBiasesReluUint8Test() local 196 std::vector<uint8_t> expectedOutputValues = in Conv2DWithBiasesRelu6Uint8Test() local 255 std::vector<int8_t> expectedOutputValues = in Conv2DPerChannelInt8Test() local 382 std::vector<int8_t> expectedOutputValues = in TransposeConvInt8Test() local 415 std::vector<float> expectedOutputValues = in TransposeConvFp32Test() local
|
H A D | LogicalTest.cpp | 28 std::vector<bool> expectedOutputValues { 0, 0, 0, 1 }; in LogicalBinaryAndBoolTest() local 49 std::vector<bool> expectedOutputValues { 0, 1, 0, 1 }; in LogicalBinaryAndBroadcastTest() local 70 std::vector<bool> expectedOutputValues { 0, 1, 1, 1 }; in LogicalBinaryOrBoolTest() local 91 std::vector<bool> expectedOutputValues { 1, 1, 1, 1 }; in LogicalBinaryOrBroadcastTest() local 110 std::vector<bool> expectedOutputValues { 1, 0, 1, 0 }; in LogicalNotBoolTest() local
|
H A D | PackTest.cpp | 49 std::vector<T> expectedOutputValues = in PackFp32Axis0Test() local 112 std::vector<T> expectedOutputValues = in PackFp32Axis1Test() local 176 std::vector<float> expectedOutputValues = in PackFp32Axis2Test() local 238 std::vector<T> expectedOutputValues = in PackFp32Axis3Test() local 305 std::vector<T> expectedOutputValues = in PackFp32Inputs3Test() local
|
H A D | PadTest.cpp | 32 std::vector<float> expectedOutputValues = { pad, pad, pad, pad, pad, pad, in Pad2dTest() local 78 std::vector<float> expectedOutputValues = { pad, pad, pad, pad, pad, pad, in Pad3dTest() local 135 std::vector<float> expectedOutputValues = { pad, pad, pad, pad, in Pad4dTest() local 326 std::vector<int8_t> expectedOutputValues = { p, p, p, p, p, p, in PadInt8Test() local 377 std::vector<uint8_t> expectedOutputValues = { p, p, p, p, p, p, in PadUint8Test() local
|
/aosp_15_r20/external/armnn/src/backends/backendsCommon/test/layerTests/ |
H A D | MirrorPadTestImpl.cpp | 27 const std::vector<T>& expectedOutputValues, in MirrorPad2dTestCommon() 73 const std::vector<T>& expectedOutputValues, in MirrorPad3dTestCommon() 118 const std::vector<T>& expectedOutputValues, in MirrorPad4dTestCommon() 179 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadSymmetric2dTest() local 230 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadReflect2dTest() local 284 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadSymmetric3dTest() local 351 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadReflect3dTest() local 426 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadSymmetric4dTest() local 739 std::vector<T> expectedOutputValues = armnnUtils::QuantizedVector<T>( in PadReflect4dTest() local 863 std::vector<armnn::Half> expectedOutputValues = in PadSymmetricFloat16() local [all …]
|
H A D | BatchNormalizationTestImpl.cpp | 36 const std::vector<float>& expectedOutputValues, in BatchNormTestImpl() 239 std::vector<float> expectedOutputValues in BatchNormFloat32Test() local 289 std::vector<float> expectedOutputValues in BatchNormFloat32NhwcTest() local 339 std::vector<float> expectedOutputValues in BatchNormFloat16Test() local 389 std::vector<float> expectedOutputValues in BatchNormFloat16NhwcTest() local 439 std::vector<float> expectedOutputValues in BatchNormUint8Test() local 489 std::vector<float> expectedOutputValues in BatchNormUint8NhwcTest() local 535 std::vector<float> expectedOutputValues in BatchNormInt16Test() local 585 std::vector<float> expectedOutputValues in BatchNormInt16NhwcTest() local
|
H A D | LogSoftmaxTestImpl.cpp | 35 const std::vector<float>& expectedOutputValues, in LogSoftmaxTestImpl() 94 std::vector<float> expectedOutputValues in LogSoftmaxTest1() local 132 std::vector<float> expectedOutputValues in LogSoftmaxTest2() local 170 std::vector<float> expectedOutputValues in LogSoftmaxTest3() local 208 std::vector<float> expectedOutputValues in LogSoftmaxTest4() local
|
H A D | ExpTestImpl.cpp | 23 std::vector<float> expectedOutputValues in Exp2dTest() local 55 std::vector<float> expectedOutputValues in Exp3dTest() local 86 std::vector<float> expectedOutputValues in ExpZeroTest() local 115 std::vector<float> expectedOutputValues in ExpNegativeTest() local
|
H A D | RsqrtTestImpl.cpp | 24 std::vector<float> expectedOutputValues in Rsqrt2dTest() local 55 std::vector<float> expectedOutputValues in Rsqrt3dTest() local 85 std::vector<float> expectedOutputValues in RsqrtZeroTest() local 114 std::vector<float> expectedOutputValues in RsqrtNegativeTest() local
|
H A D | SinTestImpl.cpp | 23 std::vector<float> expectedOutputValues in Sin2dTest() local 55 std::vector<float> expectedOutputValues in Sin3dTest() local 86 std::vector<float> expectedOutputValues in SinZeroTest() local 115 std::vector<float> expectedOutputValues in SinNegativeTest() local
|
H A D | SqrtTestImpl.cpp | 24 std::vector<float> expectedOutputValues in Sqrt2dTest() local 55 std::vector<float> expectedOutputValues in Sqrt3dTest() local 85 std::vector<float> expectedOutputValues in SqrtZeroTest() local 114 std::vector<float> expectedOutputValues in SqrtNegativeTest() local
|
H A D | LogTestImpl.cpp | 23 std::vector<float> expectedOutputValues in Log2dTest() local 55 std::vector<float> expectedOutputValues in Log3dTest() local 86 std::vector<float> expectedOutputValues in LogZeroTest() local 115 std::vector<float> expectedOutputValues in LogNegativeTest() local
|
H A D | NegTestImpl.cpp | 24 std::vector<float> expectedOutputValues in Neg2dTest() local 55 std::vector<float> expectedOutputValues in Neg3dTest() local 85 std::vector<float> expectedOutputValues in NegZeroTest() local 114 std::vector<float> expectedOutputValues in NegNegativeTest() local
|