| 232 | #ifdef ARM_COMPUTE_ENABLE_FP16 |
| 233 | TEST_SUITE(FP16) |
| 234 | FIXTURE_DATA_TEST_CASE(RunSmall, |
| 235 | NEPReluLayerFixture<half>, |
| 236 | framework::DatasetMode::ALL, |
| 237 | combine(datasets::SmallShapes(), PReluLayerFP16Dataset)) |
| 238 | { |
| 239 | if (CPUInfo::get().has_fp16()) |
| 240 | { |
| 241 | // Validate output |
| 242 | validate(Accessor(_target), _reference, tolerance_fp16, 0.01); |
| 243 | } |
| 244 | else |
| 245 | { |
| 246 | ARM_COMPUTE_TEST_WARNING("Device does not support fp16 vector operations. Test SKIPPED."); |
| 247 | framework::ARM_COMPUTE_PRINT_WARNING(); |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | FIXTURE_DATA_TEST_CASE(RunLarge, |
| 252 | NEPReluLayerFixture<half>, |
no test coverage detected