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

Function FIXTURE_DATA_TEST_CASE

tests/validation/NEON/PReluLayer.cpp:234–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232#ifdef ARM_COMPUTE_ENABLE_FP16
233TEST_SUITE(FP16)
234FIXTURE_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
251FIXTURE_DATA_TEST_CASE(RunLarge,
252 NEPReluLayerFixture<half>,

Callers 1

PReluLayer.cppFile · 0.70

Calls 4

AccessorClass · 0.85
validateFunction · 0.50
has_fp16Method · 0.45

Tested by

no test coverage detected