| 155 | // *INDENT-ON* |
| 156 | |
| 157 | TEST_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 | |
| 173 | TEST_SUITE(Integer) |
| 174 | TEST_SUITE(U8) |
nothing calls this directly
no test coverage detected