28 #include "tests/datasets/ShapeDatasets.h" 31 #include "tests/validation/fixtures/MinMaxLocationFixture.h" 56 CLMinMaxLocation min_max_loc;
57 min_max_loc.configure(&src, &min, &max, &min_loc, &max_loc);
61 validate(src.info()->padding(), padding);
fixed_point< T > min(fixed_point< T > x, fixed_point< T > y)
Accessor implementation for CLArray objects.
Container for 2D border size.
1 channel, 1 U8 per channel
1 channel, 1 F32 per channel
std::enable_if< is_container< T >::value, ContainerDataset< T > >::type make(std::string name, T &&values)
Helper function to create a ContainerDataset.
TensorInfo * info() const override
Interface to be implemented by the child class to return the tensor's metadata.
MinMaxLocationValidationFixture< CLTensor, CLAccessor, CLArray< Coordinates2D >, CLArrayAccessor< Coordinates2D >, CLMinMaxLocation, T > CLMinMaxLocationFixture
This file contains all available output stages for GEMMLowp on OpenCL.
#define TEST_SUITE(SUITE_NAME)
void validate_configuration(const CLTensor &src, TensorShape shape)
void validate_min_max_loc(const MinMaxLocationValues< T > &target, const MinMaxLocationValues< U > &reference)
FIXTURE_DATA_TEST_CASE(RunSmall, CLAbsoluteDifferenceFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), AbsoluteDifferenceU8Dataset))
validate(dst.info() ->valid_region(), dst_valid_region)
ITensorInfo & set_format(Format format) override
Set the format of an already initialized tensor.
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
ARM_COMPUTE_EXPECT(src.info() ->is_resizable(), framework::LogLevel::ERRORS)
combine(combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), framework::dataset::make("DataType",{DataType::U8, DataType::S16})), datasets::BorderModes()), framework::dataset::make("filter_size",{5}))
fixed_point< T > max(fixed_point< T > x, fixed_point< T > y)
JoinDataset< T, U > concat(T &&dataset1, U &&dataset2)
Helper function to create a JoinDataset.
Basic function to execute min and max location.
convolution configure & src
Calculate required padding.
Basic implementation of the OpenCL tensor interface.