31 #include "tests/datasets/ShapeDatasets.h" 36 #include "tests/validation/fixtures/TransposeFixture.h" 47 DATA_TEST_CASE(Configuration, framework::
DatasetMode::ALL,
combine(
concat(datasets::Small2DShapes(), datasets::Large2DShapes()), framework::dataset::
make("
DataType", {
DataType::S8,
DataType::U8,
DataType::S16,
DataType::U16,
DataType::U32,
DataType::S32,
DataType::F16,
DataType::F32 })),
63 validate(dst.info()->valid_region(), valid_region);
1 channel, 1 U8 per channel
1 channel, 1 F32 per channel
TransposeValidationFixture< CLTensor, CLAccessor, CLTranspose, T > CLTransposeFixture
1 channel, 1 U16 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.
1 channel, 1 F16 per channel
#define TEST_SUITE(SUITE_NAME)
1 channel, 1 S32 per channel
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsoluteDifferenceFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), AbsoluteDifferenceU8Dataset))
validate(dst.info() ->valid_region(), dst_valid_region)
DatasetMode
Possible dataset modes.
1 channel, 1 U32 per channel
Accessor implementation for CLTensor objects.
1 channel, 1 S16 per channel
DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), AbsoluteDifferenceU8Dataset), shape, data_type0, data_type1, output_data_type)
TEST_SUITE_END() DATA_TEST_CASE(Configuration
Basic function to transpose a matrix on OpenCL.
combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType",{DataType::U8, DataType::S16})), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))
JoinDataset< T, U > concat(T &&dataset1, U &&dataset2)
Helper function to create a JoinDataset.
Container for valid region of a window.
void configure(const ICLTensor *input, ICLTensor *output)
Initialise the kernel's inputs and output.
DataType
Available data types.
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.