MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / TEST_CASE

Function TEST_CASE

tests/validation/NEON/ArithmeticAddition.cpp:157–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155// *INDENT-ON*
156
157TEST_CASE(NoPaddingAdded, framework::DatasetMode::PRECOMMIT)
158{
159 // NEArithmeticAddition doesn't use padding, so make sure this is the case.
160 Tensor input1 = create_tensor<Tensor>(TensorShape(15U, 15U), DataType::F32);
161 Tensor input2 = create_tensor<Tensor>(TensorShape(15U, 1U), DataType::F32);
162 Tensor output = create_tensor<Tensor>(TensorShape(15U, 15U), DataType::F32);
163
164 NEArithmeticAddition add;
165 add.configure(&input1, &input2, &output, ConvertPolicy::WRAP);
166
167 // Validate padding is zero
168 validate(input1.info()->padding(), PaddingSize());
169 validate(input2.info()->padding(), PaddingSize());
170 validate(output.info()->padding(), PaddingSize());
171}
172
173TEST_SUITE(Integer)
174TEST_SUITE(U8)

Callers

nothing calls this directly

Calls 5

TensorShapeClass · 0.50
validateFunction · 0.50
configureMethod · 0.45
paddingMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected