56 CLMinMaxLocation min_max_loc;
57 min_max_loc.configure(&src, &min, &max, &min_loc, &max_loc);
fixed_point< T > min(fixed_point< T > x, fixed_point< T > y)
Accessor implementation for CLArray objects.
Data set containing large 2D tensor shapes.
Container for 2D border size.
1 channel, 1 F16 per channel
FIXTURE_DATA_TEST_CASE(RunSmall, CLActivationLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F16)))
combine(concat(datasets::Small2DShapes(), datasets::Large2DShapes()), framework::dataset::make("DataType", DataType::S16))
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.
void validate_configuration(const CLTensor &src, TensorShape shape)
void validate_min_max_loc(const MinMaxLocationValues< T > &target, const MinMaxLocationValues< U > &reference)
DatasetMode
Possible dataset modes.
ARM_COMPUTE_EXPECT(shape.num_dimensions()==dimension+1, framework::LogLevel::ERRORS)
void set_format(Format format) override
Set the format of an already initialized tensor.
Accessor implementation for CLTensor objects.
1 channel, 1 U8 per channel
TEST_SUITE_END() DATA_TEST_CASE(Configuration
Data set containing small 2D tensor shapes.
void validate(const arm_compute::ValidRegion ®ion, const arm_compute::ValidRegion &reference)
Validate valid regions.
#define TEST_SUITE(SUITE_NAME)
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.
DataType
Available data types.
DATA_TEST_CASE(Configuration, framework::DatasetMode::ALL, combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), CNNDataTypes), framework::dataset::make("InPlace",{false, true})), shape, data_type, in_place)
Calculate required padding.
Basic implementation of the OpenCL tensor interface.