30 #include "tests/datasets/BorderModeDataset.h" 31 #include "tests/datasets/HOGDescriptorDataset.h" 32 #include "tests/datasets/ShapeDatasets.h" 37 #include "tests/validation/fixtures/HOGDescriptorFixture.h" 47 RelativeTolerance<float> tolerance(0.1f);
48 constexpr
float tolerance_number = 0.05f;
60 datasets::SmallHOGDescriptorDataset(),
61 framework::dataset::
make("
Format", Format::U8)),
70 datasets::LargeHOGDescriptorDataset(),
BorderMode
Methods available to handle borders.
HOGDescriptorValidationFixture< Tensor, HOG, Accessor, NEHOGDescriptor, uint8_t, float > NEHOGDescriptorFixture
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.
Accessor implementation for Tensor objects.
DatasetMode
Possible dataset modes.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
Format
Image colour formats.
Basic function to calculate HOG descriptor.
Basic implementation of the tensor interface.
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
CPU implementation of HOG data-object.
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)))