31 #include "tests/datasets/BorderModeDataset.h" 32 #include "tests/datasets/InterpolationPolicyDataset.h" 33 #include "tests/datasets/ShapeDatasets.h" 38 #include "tests/validation/fixtures/WarpAffineFixture.h" 50 constexpr AbsoluteTolerance<uint8_t> tolerance(1);
61 datasets::BorderModes()))
69 datasets::BorderModes()))
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.
WarpAffineValidationFixture< Tensor, Accessor, NEWarpAffine, T > NEWarpAffineFixture
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)
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F16)))
DISABLED_FIXTURE_DATA_TEST_CASE(RunLarge, NEWarpAffineFixture< uint8_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeShapes(), framework::dataset::make("DataType", DataType::U8)), framework::dataset::make("InterpolationPolicy", { InterpolationPolicy::NEAREST_NEIGHBOR, InterpolationPolicy::BILINEAR })), datasets::BorderModes()))
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))