|
| DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(zip(framework::dataset::make("Input1Info", { TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), }), framework::dataset::make("Input2Info",{ TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S16), TensorInfo(TensorShape(48U, 11U, 2U), 1, DataType::F32), })), framework::dataset::make("OutputInfo",{ TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::S16), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::U8), TensorInfo(TensorShape(48U, 11U, 2U), 1, DataType::F32), })), framework::dataset::make("Expected", { true, true, false, false})), input1_info, input2_info, output_info, expected) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(datasets::SmallShapes(), ElementwiseMaxU8Dataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxFixture< int16_t >, framework::DatasetMode::ALL, combine(datasets::SmallShapes(), ElementwiseMaxS16Dataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxQuantizedFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(combine(datasets::SmallShapes(), ElementwiseMaxQASYMM8Dataset), framework::dataset::make("Src0QInfo", { QuantizationInfo(5.f/255.f, 20) })), framework::dataset::make("Src1QInfo", { QuantizationInfo(2.f/255.f, 10) })), framework::dataset::make("OutQInfo", { QuantizationInfo(1.f/255.f, 5) }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxQuantizedFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(combine(datasets::SmallShapes(), ElementwiseMaxQASYMM8SignedDataset), framework::dataset::make("Src0QInfo", { QuantizationInfo(5.f/255.f, 20) })), framework::dataset::make("Src1QInfo", { QuantizationInfo(2.f/255.f, 10) })), framework::dataset::make("OutQInfo", { QuantizationInfo(1.f/255.f, 5) }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxQuantizedFixture< int16_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(combine(datasets::SmallShapes(), ElementwiseMaxQSYMM16Dataset), framework::dataset::make("Src0QInfo", { QuantizationInfo(1.f/32768.f, 0), QuantizationInfo(5.f/32768.f, 0) })), framework::dataset::make("Src1QInfo", { QuantizationInfo(2.f/32768.f, 0), QuantizationInfo(5.f/32768.f, 0) })), framework::dataset::make("OutQInfo", { QuantizationInfo(5.f/32768.f, 0) }))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxFloatFixture< half >, framework::DatasetMode::ALL, combine(combine(datasets::SmallShapes(), ElementwiseMaxFP16Dataset), EmptyActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunWithActivation, CLElementwiseMaxFloatFixture< half >, framework::DatasetMode::ALL, combine(combine(datasets::TinyShapes(), ElementwiseMaxFP16Dataset), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, CLElementwiseMaxFloatFixture< float >, framework::DatasetMode::ALL, combine(combine(datasets::SmallShapes(), ElementwiseMaxFP32Dataset), EmptyActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunWithActivation, CLElementwiseMaxFloatFixture< float >, framework::DatasetMode::ALL, combine(combine(datasets::TinyShapes(), ElementwiseMaxFP32Dataset), ActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunSmallBroadcast, CLElementwiseMaxBroadcastFloatFixture< float >, framework::DatasetMode::ALL, combine(combine(datasets::SmallShapesBroadcast(), ElementwiseMaxFP32Dataset), EmptyActivationFunctionsDataset)) |
|
| FIXTURE_DATA_TEST_CASE (RunWithActivationBroadcast, CLElementwiseMaxBroadcastFloatFixture< float >, framework::DatasetMode::ALL, combine(combine(datasets::TinyShapesBroadcast(), ElementwiseMaxFP32Dataset), ActivationFunctionsDataset)) |
|