|
| DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(make("InputInfo", { TensorInfo(TensorShape(27U, 13U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 12)), TensorInfo(TensorShape(32U, 13U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 12)), TensorInfo(TensorShape(32U, 13U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 12)), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 12)), }), make("OutputInfo",{ TensorInfo(TensorShape(27U, 13U), 1, DataType::F16), TensorInfo(TensorShape(27U, 11U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 12)), TensorInfo(TensorShape(32U, 13U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 0)), TensorInfo(TensorShape(32U, 13U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 0)), TensorInfo(TensorShape(32U, 13U), 1, DataType::QASYMM8, QuantizationInfo(1.f/256, 0)), }), make("beta", { 1.0, 2.0, 1.0, 2.0, 1.0, 1.0, 2.0, 1.0, }), make("axis", { 0, 0, 0, 1, 0, -1, 2, -3, }), make("Expected", { false, false, false, true, true, true, false, false })), input_info, output_info, beta, axis, expected) |
|
| DATA_TEST_CASE (KernelSelection, framework::DatasetMode::ALL, concat(concat(combine(make("CpuExt", std::string("NEON")), make("DataType", { DataType::F32, DataType::F16, DataType::QASYMM8, DataType::QASYMM8_SIGNED})), combine(make("CpuExt", std::string("SVE")), make("DataType", { DataType::F32, DataType::F16}))), combine(make("CpuExt", std::string("SVE2")), make("DataType", { DataType::QASYMM8, DataType::QASYMM8_SIGNED}))), cpu_ext, data_type) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall2D, NESoftmaxLayerFixture< float >, framework::DatasetMode::PRECOMMIT, combine(datasets::SoftmaxLayerSmallShapes(), make("DataType", DataType::F32), make("Beta", { 1.0f, 2.0f }), make("Axis", { 0, -1 }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall4D, NESoftmaxLayerFixture< float >, framework::DatasetMode::PRECOMMIT, combine(datasets::Small4DShapes(), make("DataType", DataType::F32), make("Beta", { 1.0f, 2.0f }), make("Axis", { 0, -2, 3 }))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, NESoftmaxLayerFixture< float >, framework::DatasetMode::NIGHTLY, combine(datasets::SoftmaxLayerLargeShapes(), make("DataType", DataType::F32), make("Beta", { 1.0f, 2.0f }), make("Axis", { 0 }))) |
|
| TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T> |
| [CLActivationLayer Test snippet] More...
|
|
| FIXTURE_DATA_TEST_CASE (RunSmall2D, NESoftmaxLayerQuantizedFixture< uint8_t >, framework::DatasetMode::ALL, combine(datasets::SoftmaxLayerSmallShapes(), make("DataType", DataType::QASYMM8), combine(make("QuantizationInfo", { QuantizationInfo(0.5f, -10) }), make("Beta", { 1.0f, 2.f })), make("Axis", { 0, -1 }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall4D, NESoftmaxLayerQuantizedFixture< uint8_t >, framework::DatasetMode::ALL, combine(datasets::Small4DShapes(), make("DataType", DataType::QASYMM8), combine(make("QuantizationInfo", { QuantizationInfo(0.5f, -10) }), make("Beta", { 1.0f, 2.f })), make("Axis", { 0, 1, -2 }))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, NESoftmaxLayerQuantizedFixture< uint8_t >, framework::DatasetMode::NIGHTLY, combine(datasets::SoftmaxLayerLargeShapes(), make("DataType", DataType::QASYMM8), combine(make("QuantizationInfo", { QuantizationInfo(0.5f, -10) }), make("Beta", { 1.0f, 2.0f })), make("Axis", { 0 }))) |
|
| combine (datasets::SoftmaxLayerSmallShapes(), make("DataType", DataType::QASYMM8_SIGNED), combine(make("QuantizationInfo", { QuantizationInfo(0.5f, -10) }), make("Beta", { 1.0f, 2.f })), make("Axis", { 0, -1 }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall4D, NESoftmaxLayerQuantizedFixture< int8_t >, framework::DatasetMode::ALL, combine(datasets::Small4DShapes(), make("DataType", DataType::QASYMM8_SIGNED), combine(make("QuantizationInfo", { QuantizationInfo(0.5f, -10) }), make("Beta", { 1.0f, 2.f })), make("Axis", { 0, 1, -1 }))) |
|