30 #include "tests/datasets/BorderModeDataset.h" 31 #include "tests/datasets/ShapeDatasets.h" 36 #include "tests/validation/fixtures/WarpPerspectiveFixture.h" 46 constexpr AbsoluteTolerance<uint8_t> tolerance_value(1);
47 constexpr
float tolerance_number = 0.2f;
59 datasets::BorderModes()))
61 validate(
Accessor(_target), _reference, _valid_mask, tolerance_value, tolerance_number);
66 datasets::BorderModes()))
68 validate(
Accessor(_target), _reference, _valid_mask, tolerance_value, tolerance_number);
1 channel, 1 U8 per channel
Output values are defined by bilinear interpolation between the pixels.
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
Output values are defined to match the source pixel whose center is nearest to the sample position...
Copyright (c) 2017-2021 Arm Limited.
Accessor implementation for Tensor objects.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
TEST_SUITE(U8_to_S8) FIXTURE_DATA_TEST_CASE(RunSmall
validate(CLAccessor(output_state), expected_output)
WarpPerspectiveValidationFixture< Tensor, Accessor, NEWarpPerspective, T > NEWarpPerspectiveFixture
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))