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" 51 #ifdef __ARM_FEATURE_FP16_VECTOR_ARITHMETIC 65 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetActivationLayerDataset(), data_types),
66 framework::dataset::
make("Batches", 1)));
69 framework::dataset::
combine(framework::dataset::
combine(datasets::LeNet5ActivationLayerDataset(), data_types),
70 framework::dataset::
make("Batches", 1)));
73 framework::dataset::
combine(framework::dataset::
combine(datasets::MobileNetActivationLayerDataset(), data_types_mobilenet),
74 framework::dataset::
make("Batches", 1)));
77 framework::dataset::
combine(framework::dataset::
combine(datasets::GoogLeNetInceptionV1ActivationLayerDataset(), data_types),
78 framework::dataset::
make("Batches", 1)));
81 framework::dataset::
combine(framework::dataset::
combine(datasets::GoogLeNetInceptionV4ActivationLayerDataset(), data_types),
82 framework::dataset::
make("Batches", 1)));
85 framework::dataset::
combine(framework::dataset::
combine(datasets::SqueezeNetActivationLayerDataset(), data_types),
86 framework::dataset::
make("Batches", 1)));
89 framework::dataset::
combine(framework::dataset::
combine(datasets::VGG16ActivationLayerDataset(), data_types),
90 framework::dataset::
make("Batches", 1)));
93 framework::dataset::
combine(framework::dataset::
combine(datasets::YOLOV2ActivationLayerDataset(), data_types),
94 framework::dataset::
make("Batches", 1)));
98 framework::dataset::
combine(framework::dataset::
combine(datasets::AlexNetActivationLayerDataset(), data_types),
99 framework::dataset::
make("Batches", { 4, 8 })));
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)))
ActivationLayerFixture< Tensor, NEActivationLayer, Accessor > NEActivationLayerFixture
CartesianProductDataset< T, U > combine(T &&dataset1, U &&dataset2)
Helper function to create a CartesianProductDataset.