30 #include "tests/benchmark/fixtures/HistogramFixture.h" 31 #include "tests/datasets/ShapeDatasets.h" 42 using CLHistogramFixture = HistogramFixture<CLTensor, CLHistogram, CLAccessor, CLDistribution1D>;
50 datasets::Small2DShapes(),
51 framework::dataset::
make("
Format", Format::U8)));
55 datasets::Large2DShapes(),
56 framework::dataset::
make("Format", Format::U8)));
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.
#define TEST_SUITE(SUITE_NAME)
DatasetMode
Possible dataset modes.
Format
Image colour formats.
REGISTER_FIXTURE_DATA_TEST_CASE(MobileNetBatchNormalizationLayer, CLBatchNormalizationLayerFixture, framework::DatasetMode::ALL, combine(combine(combine(combine(combine(datasets::MobileNetBatchNormalizationLayerDataset(), combine(framework::dataset::make("UseGamma",{false, true}), framework::dataset::make("UseBeta",{false, true}))), framework::dataset::make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU, 6.f))), data_types), framework::dataset::make("DataLayout",{DataLayout::NCHW, DataLayout::NHWC})), framework::dataset::make("Batches", 1)))
HistogramFixture< CLTensor, CLHistogram, CLAccessor, CLDistribution1D > CLHistogramFixture
CartesianProductDataset< T, U > combine(T &&dataset1, U &&dataset2)
Helper function to create a CartesianProductDataset.