31 #include "tests/datasets/BorderModeDataset.h" 32 #include "tests/datasets/OpticalFlowDataset.h" 37 #include "tests/validation/fixtures/OpticalFlowFixture.h" 53 CLArrayAccessor<KeyPoint>,
56 CLGaussianPyramidHalf,
60 datasets::SmallOpticalFlowDataset(),
62 datasets::BorderModes()))
65 CLArrayAccessor<KeyPoint> array(_target);
74 datasets::LargeOpticalFlowDataset(),
76 datasets::BorderModes()))
79 CLArrayAccessor<KeyPoint> array(_target);
size_t num_values() const override
Number of elements of the tensor.
1 channel, 1 U8 per channel
CLArray< KeyPoint > CLKeyPointArray
OpenCL Array of Key Points.
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.
T * buffer() override
Access to the buffer.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
OpticalFlowValidationFixture< CLTensor, CLAccessor, CLKeyPointArray, CLArrayAccessor< KeyPoint >, CLOpticalFlow, CLPyramid, CLGaussianPyramidHalf, uint8_t > CLOpticalFlowFixture
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)))
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(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))