30 #include "tests/benchmark/fixtures/NormalizationLayerFixture.h" 31 #include "tests/datasets/system_tests/alexnet/AlexNetNormalizationLayerDataset.h" 32 #include "tests/datasets/system_tests/googlenet/inceptionv1/GoogLeNetInceptionV1NormalizationLayerDataset.h" 53 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetNormalizationLayerDataset(),
55 framework::dataset::
make("Batches", 1)));
58 framework::dataset::
combine(framework::dataset::
combine(datasets::GoogLeNetInceptionV1NormalizationLayerDataset(),
60 framework::dataset::
make("Batches", 1)));
64 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetNormalizationLayerDataset(),
66 framework::dataset::
make("Batches", { 4, 8 })));
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.
This file contains all available output stages for GEMMLowp on OpenCL.
1 channel, 1 F16 per channel
#define TEST_SUITE(SUITE_NAME)
DatasetMode
Possible dataset modes.
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)))
CartesianProductDataset< T, U > combine(T &&dataset1, U &&dataset2)
Helper function to create a CartesianProductDataset.
NormalizationLayerFixture< CLTensor, CLNormalizationLayer, CLAccessor > CLNormalizationLayerFixture