30 #include "tests/datasets/HOGDescriptorDataset.h" 35 #include "tests/validation/fixtures/HOGDetectorFixture.h" 46 RelativeTolerance<float> tolerance(0.01f);
49 const auto DetectionWindowStrideDataset =
framework::dataset::make(
"DetectionWindowStride", { Size2D(8, 8), Size2D(16, 16) });
62 CLArrayAccessor<DetectionWindow>,
70 DetectionWindowStrideDataset,
71 datasets::SmallHOGDescriptorDataset()),
82 DetectionWindowStrideDataset,
83 datasets::LargeHOGDescriptorDataset()),
CLArray< DetectionWindow > CLDetectionWindowArray
OpenCL Array of Detection Windows.
1 channel, 1 U8 per channel
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
Copyright (c) 2017-2021 Arm Limited.
void validate_detection_windows(T target_first, T target_last, U reference_first, U reference_last, V tolerance=AbsoluteTolerance< float >(), float allowed_missing_percentage=5.f, float allowed_mismatch_percentage=5.f)
Validate detection windows.
HOGDetectorValidationFixture< CLTensor, CLHOG, CLDetectionWindowArray, CLHOGDescriptor, CLAccessor, CLArrayAccessor< DetectionWindow >, CLHOGAccessor, CLHOGDetector, uint8_t, float > CLHOGDetectorFixture
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
Pixels outside the image are assumed to have the same value as the closest image pixel.
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))