28 #include "tests/datasets/BorderModeDataset.h" 29 #include "tests/datasets/GradientDimensionDataset.h" 30 #include "tests/datasets/ShapeDatasets.h" 34 #include "tests/validation/fixtures/DerivativeFixture.h" 49 datasets::GradientDimensions()))
53 validate(CLAccessor(_target.first), _reference.first, valid_region_x);
56 validate(CLAccessor(_target.second), _reference.second, valid_region_y);
61 datasets::GradientDimensions()))
Container for 2D border size.
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.
DerivativeValidationFixture< CLTensor, CLAccessor, CLDerivative, uint8_t, int16_t > CLDerivativeFixture
Basic function to execute first order derivative operator.
Copyright (c) 2017-2021 Arm Limited.
DatasetMode
Possible dataset modes.
TEST_SUITE_END() FIXTURE_DATA_TEST_CASE(RunSmall
[CLActivationLayer Test snippet]
Format
Image colour formats.
Accessor implementation for CLTensor objects.
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)))
Borders are left undefined.
Container for valid region of a window.
combine(datasets::SmallShapes(), framework::dataset::make("DataType", DataType::F32)))
ValidRegion shape_to_valid_region(const TensorShape &a_shape, bool border_undefined=false, BorderSize border_size=BorderSize(0))
Create a valid region based on tensor shape, border mode and border size.
Basic implementation of the OpenCL tensor interface.