|
| DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(zip(zip(zip(zip(make("InputInfo", { TensorInfo(TensorShape(9U, 5U, 7U, 3U), 1, DataType::F32), TensorInfo(TensorShape(8U, 4U, 6U, 4U), 1, DataType::F32), TensorInfo(TensorShape(8U, 4U, 6U, 4U), 1, DataType::F32), TensorInfo(TensorShape(9U, 5U, 7U, 3U), 1, DataType::F32), TensorInfo(TensorShape(9U, 5U, 7U, 3U), 1, DataType::F32), }), make("WeightsInfo",{ TensorInfo(TensorShape(315U, 271U), 1, DataType::F16), TensorInfo(TensorShape(192U, 192U), 1, DataType::F32), TensorInfo(TensorShape(192U, 192U), 1, DataType::F32), TensorInfo(TensorShape(217U, 231U), 1, DataType::F32), TensorInfo(TensorShape(217U, 315U), 1, DataType::F32), })), make("BiasInfo",{ TensorInfo(TensorShape(271U), 1, DataType::F32), TensorInfo(TensorShape(192U), 1, DataType::F32), TensorInfo(TensorShape(192U), 1, DataType::F32), TensorInfo(TensorShape(271U), 1, DataType::F32), TensorInfo(TensorShape(271U), 1, DataType::F32), })), make("OutputInfo",{ TensorInfo(TensorShape(271U, 3U), 1, DataType::F32), TensorInfo(TensorShape(192U, 4U), 1, DataType::F32), TensorInfo(TensorShape(192U, 4U), 1, DataType::F32), TensorInfo(TensorShape(271U, 3U), 1, DataType::F32), TensorInfo(TensorShape(271U, 3U), 1, DataType::F32), })), make("TransposeWeights",{ true, true, false, true, true })), make("ReshapedWeights",{ false, false, false, false, false})), make("Expected", { false, true, true, false, false })), input_info, weights_info, bias_info, output_info, transpose_weights, reshaped_weights, expected) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLFullyConnectedLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::F16), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, CLFullyConnectedLayerFixture< half >, framework::DatasetMode::NIGHTLY, combine(datasets::LargeFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::F16), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicWeights, CLFullyConnectedLayerDynamicWeightsFixture< half >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::F16), make("ActivationInfo", ActivationLayerInfo()), make("WeightsReshaped", { false, true }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLFullyConnectedLayerFixture< float >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::F32), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunMixedDataLayout, CLFullyConnectedLayerMixedDataLayoutFixture< float >, framework::DatasetMode::PRECOMMIT, combine(make("Input", TensorShape(9U, 5U, 7U)), make("Weights", TensorShape(315U, 271U)), make("Biases", TensorShape(271U)), make("Output", TensorShape(271U)), FullyConnectedParameters, make("DataType", DataType::F32), make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)))) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicWeights, CLFullyConnectedLayerDynamicWeightsFixture< float >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::F32), make("ActivationInfo", ActivationLayerInfo()), make("WeightsReshaped", { false, true }))) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicNoBias, CLFullyConnectedNoBiasFixture< float >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::F32), make("ActivationInfo", { ActivationLayerInfo(), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU) }), make("WeightsReshaped", { false }))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, CLFullyConnectedLayerFixture< float >, framework::DatasetMode::NIGHTLY, combine(datasets::LargeFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::F32), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmallWithActivation, CLFullyConnectedLayerQuantizedFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8), QuantizationData, ActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunMixedDataLayoutWithActivation, CLFullyConnectedLayerQuantizedMixedDataLayoutFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(make("Input", TensorShape(9U, 5U, 7U)), make("Weights", TensorShape(315U, 271U)), make("Biases", TensorShape(271U)), make("Output", TensorShape(271U)), FullyConnectedParameters, make("DataType", DataType::QASYMM8), QuantizationData, make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)))) |
|
| FIXTURE_DATA_TEST_CASE (RunLargeWithActivation, CLFullyConnectedLayerQuantizedFixture< uint8_t >, framework::DatasetMode::NIGHTLY, combine(datasets::LargeFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8), QuantizationData, ActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLFullyConnectedLayerQuantizedFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8), IgnoredQuantizationData, NoActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, CLFullyConnectedLayerQuantizedFixture< uint8_t >, framework::DatasetMode::NIGHTLY, combine(datasets::LargeFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8), IgnoredQuantizationData, NoActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicWeights, CLFullyConnectedLayerDynamicWeightsFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::QASYMM8), NoActivationFunctionsQuantizedDataset, make("WeightsReshaped", { false }))) |
|
| FIXTURE_DATA_TEST_CASE (RunMixedDataLayout, CLFullyConnectedLayerQuantizedMixedDataLayoutFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(make("Input", TensorShape(9U, 5U, 7U)), make("Weights", TensorShape(315U, 271U)), make("Biases", TensorShape(271U)), make("Output", TensorShape(271U)), FullyConnectedParameters, make("DataType", DataType::QASYMM8), IgnoredQuantizationData, NoActivationFunctionsQuantizedDataset)) |
|
| TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T> |
| [CLActivationLayer Test snippet] More...
|
|
| combine (datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8_SIGNED), QuantizationData, ActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunMixedDataLayoutWithActivation, CLFullyConnectedLayerQuantizedMixedDataLayoutFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(make("Input", TensorShape(9U, 5U, 7U)), make("Weights", TensorShape(315U, 271U)), make("Biases", TensorShape(271U)), make("Output", TensorShape(271U)), FullyConnectedParameters, make("DataType", DataType::QASYMM8_SIGNED), QuantizationData, make("ActivationInfo", ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLFullyConnectedLayerQuantizedFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), FullyConnectedParameters, make("DataType", DataType::QASYMM8_SIGNED), IgnoredQuantizationData, NoActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunMixedDataLayout, CLFullyConnectedLayerQuantizedMixedDataLayoutFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(make("Input", TensorShape(9U, 5U, 7U)), make("Weights", TensorShape(315U, 271U)), make("Biases", TensorShape(271U)), make("Output", TensorShape(271U)), FullyConnectedParameters, make("DataType", DataType::QASYMM8_SIGNED), IgnoredQuantizationData, NoActivationFunctionsQuantizedDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicWeights, CLFullyConnectedLayerDynamicWeightsFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::QASYMM8_SIGNED), make("ActivationInfo", ActivationLayerInfo()), make("WeightsReshaped", { false }))) |
|
| FIXTURE_DATA_TEST_CASE (RunDynamicNoBias, CLFullyConnectedNoBiasFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallFullyConnectedLayerDataset(), make("DataType", DataType::QASYMM8_SIGNED), make("ActivationInfo", ActivationLayerInfo()), make("WeightsReshaped", { false }))) |
|