30 #include "tests/benchmark/fixtures/ActivationLayerFixture.h" 31 #include "tests/datasets/system_tests/alexnet/AlexNetActivationLayerDataset.h" 32 #include "tests/datasets/system_tests/googlenet/inceptionv1/GoogLeNetInceptionV1ActivationLayerDataset.h" 33 #include "tests/datasets/system_tests/googlenet/inceptionv4/GoogLeNetInceptionV4ActivationLayerDataset.h" 34 #include "tests/datasets/system_tests/lenet5/LeNet5ActivationLayerDataset.h" 35 #include "tests/datasets/system_tests/mobilenet/MobileNetActivationLayerDataset.h" 36 #include "tests/datasets/system_tests/squeezenet/SqueezeNetActivationLayerDataset.h" 37 #include "tests/datasets/system_tests/vgg/vgg16/VGG16ActivationLayerDataset.h" 38 #include "tests/datasets/system_tests/yolo/v2/YOLOV2ActivationLayerDataset.h" 60 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetActivationLayerDataset(),
62 framework::dataset::
make("Batches", 1)));
65 framework::dataset::
combine(framework::dataset::
combine(datasets::LeNet5ActivationLayerDataset(),
67 framework::dataset::
make("Batches", 1)));
70 framework::dataset::
combine(framework::dataset::
combine(datasets::MobileNetActivationLayerDataset(),
71 data_types_mobilenet),
72 framework::dataset::
make("Batches", 1)));
75 framework::dataset::
combine(framework::dataset::
combine(datasets::GoogLeNetInceptionV1ActivationLayerDataset(),
77 framework::dataset::
make("Batches", 1)));
80 framework::dataset::
combine(framework::dataset::
combine(datasets::GoogLeNetInceptionV4ActivationLayerDataset(),
82 framework::dataset::
make("Batches", 1)));
85 framework::dataset::
combine(framework::dataset::
combine(datasets::SqueezeNetActivationLayerDataset(),
87 framework::dataset::
make("Batches", 1)));
90 framework::dataset::
combine(framework::dataset::
combine(datasets::VGG16ActivationLayerDataset(),
92 framework::dataset::
make("Batches", 1)));
95 framework::dataset::
combine(framework::dataset::
combine(datasets::YOLOV2ActivationLayerDataset(),
97 framework::dataset::
make("Batches", 1)));
101 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetActivationLayerDataset(),
103 framework::dataset::
make("Batches", { 4, 8 })));
112 data_types_mobilenet),
quantized, symmetric fixed-point 16-bit number
quantized, symmetric fixed-point 8-bit number
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.
quantized, asymmetric fixed-point 8-bit number
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.
ActivationLayerFixture< CLTensor, CLActivationLayer, CLAccessor > CLActivationLayerFixture