31 #include "tests/datasets/HOGMultiDetectionDataset.h" 35 #include "tests/validation/fixtures/HOGMultiDetectionFixture.h" 46 RelativeTolerance<float> tolerance(0.1f);
60 CLArrayAccessor<Size2D>,
61 CLArrayAccessor<DetectionWindow>,
70 datasets::SmallHOGMultiDetectionDataset(),
81 datasets::LargeHOGMultiDetectionDataset(),
CLArray< DetectionWindow > CLDetectionWindowArray
OpenCL Array of Detection Windows.
CLArray< Size2D > CLSize2DArray
OpenCL Array of 2D Sizes.
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.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
HOGMultiDetectionValidationFixture< CLTensor, CLHOG, CLMultiHOG, CLDetectionWindowArray, CLSize2DArray, CLAccessor, CLArrayAccessor< Size2D >, CLArrayAccessor< DetectionWindow >, CLHOGAccessor, CLHOGMultiDetection, uint8_t, float > CLHOGMultiDetectionFixture
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)))