31 #include "tests/datasets/BorderModeDataset.h" 32 #include "tests/datasets/OpticalFlowDataset.h" 37 #include "tests/validation/fixtures/OpticalFlowFixture.h" 53 ArrayAccessor<KeyPoint>,
56 NEGaussianPyramidHalf,
60 datasets::SmallOpticalFlowDataset(),
61 framework::dataset::
make("
Format", Format::U8)),
62 datasets::BorderModes()))
73 datasets::LargeOpticalFlowDataset(),
75 datasets::BorderModes()))
ArrayAccessor implementation for Array objects.
size_t num_values() const override
Number of elements of the tensor.
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.
This file contains all available output stages for GEMMLowp on OpenCL.
#define TEST_SUITE(SUITE_NAME)
Array< KeyPoint > KeyPointArray
Array of Key Points.
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsoluteDifferenceFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), AbsoluteDifferenceU8Dataset))
DatasetMode
Possible dataset modes.
Format
Image colour formats.
T * buffer() override
Access to the buffer.
TEST_SUITE_END() DATA_TEST_CASE(Configuration
void validate_keypoints(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 key points.
combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType",{DataType::U8, DataType::S16})), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))
OpticalFlowValidationFixture< Tensor, Accessor, KeyPointArray, ArrayAccessor< KeyPoint >, NEOpticalFlow, Pyramid, NEGaussianPyramidHalf, uint8_t > NEOpticalFlowFixture