30 #include "tests/datasets/HOGDescriptorDataset.h" 35 #include "tests/validation/fixtures/HOGDetectorFixture.h" 47 RelativeTolerance<float> tolerance(1.0f);
50 const auto DetectionWindowStrideDataset =
framework::dataset::make(
"DetectionWindowStride", { Size2D(8, 8), Size2D(16, 16) });
63 ArrayAccessor<DetectionWindow>,
71 DetectionWindowStrideDataset,
72 datasets::SmallHOGDescriptorDataset()),
82 DetectionWindowStrideDataset,
83 datasets::LargeHOGDescriptorDataset()),
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.
Array< DetectionWindow > DetectionWindowArray
Array of Detection Windows.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
HOGDetectorValidationFixture< Tensor, HOG, DetectionWindowArray, NEHOGDescriptor, Accessor, ArrayAccessor< DetectionWindow >, HOGAccessor, NEHOGDetector, uint8_t, float > NEHOGDetectorFixture
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)))