|
constexpr AbsoluteTolerance< float > | tolerance_f32 (0.001f) |
| Tolerance value for comparing reference's output against implementation's output for 32-bit floating-point type. More...
|
|
constexpr AbsoluteTolerance< float > | tolerance_f16 (0.01f) |
| Tolerance value for comparing reference's output against implementation's output for 16-bit floating-point type. More...
|
|
| DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(framework::dataset::make("InputInfo", { TensorInfo(TensorShape(2U, 27U, 13U), 1, DataType::QASYMM8, DataLayout::NHWC), TensorInfo(TensorShape(5U, 15U, 13U), 1, DataType::F32, DataLayout::NHWC), TensorInfo(TensorShape(5U, 13U, 13U), 1, DataType::QASYMM8, DataLayout::NHWC), TensorInfo(TensorShape(5U, 13U, 13U), 1, DataType::F32, DataLayout::NHWC), TensorInfo(TensorShape(13U, 13U, 5U), 1, DataType::F32, DataLayout::NCHW), }), framework::dataset::make("Pool2dAttributes", { Pool2dAttributes().pool_type(PoolingType::L2).pool_size(Size2D(3, 3)).pad(Padding2D(0, 0, 0, 0)).stride(Size2D(1, 1)), Pool2dAttributes().pool_type(PoolingType::AVG).pool_size(Size2D(15U, 13U)), Pool2dAttributes().pool_type(PoolingType::AVG).pool_size(Size2D(2, 2)).pad(Padding2D()).stride(Size2D(1, 1)), Pool2dAttributes().pool_type(PoolingType::AVG).pool_size(Size2D(13U, 13U)), Pool2dAttributes().pool_type(PoolingType::AVG).pool_size(Size2D(13U, 13U)), })), framework::dataset::make("Expected", { false, true, false, true, false })), input_info, pool2d_attr, expected) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, DynamicFusionGpuPool2dFixture< float >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallNoneUnitShapes(), PoolingLayerDatasetFP), framework::dataset::make("DataType", DataType::F32))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, DynamicFusionGpuPool2dFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeShapes(), PoolingLayerDatasetFP), framework::dataset::make("DataType", DataType::F32))) |
|
| FIXTURE_DATA_TEST_CASE (RunSpecial, DFSpecialGpuPool2dFixture< float >, framework::DatasetMode::ALL, combine(datasets::PoolingLayerDatasetSpecialDynamicFusion(), framework::dataset::make("DataType", DataType::F32))) |
|
| FIXTURE_DATA_TEST_CASE (RunSmall, DynamicFusionGpuPool2dFixture< float >, framework::DatasetMode::ALL, combine(combine(combine(combine(combine(combine(framework::dataset::make("InputShape", {TensorShape(27U, 13U, 2U), TensorShape(27U, 13U, 2U, 4U)}), framework::dataset::make("PoolingType", {PoolingType::AVG, PoolingType::MAX})), framework::dataset::make("PoolingSize", {Size2D(27, 13)})), framework::dataset::make("Pad", {Padding2D()})), framework::dataset::make("Stride", {Size2D(1, 1)})), framework::dataset::make("ExcludePadding", true)), framework::dataset::make("DataType", DataType::F32))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, DynamicFusionGpuPool2dFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(combine(combine(combine(combine(framework::dataset::make("InputShape", {TensorShape(79U, 37U, 11U), TensorShape(79U, 37U, 11U, 4U)}), framework::dataset::make("PoolingType", {PoolingType::AVG, PoolingType::MAX})), framework::dataset::make("PoolingSize", {Size2D(79, 37)})), framework::dataset::make("Pad", {Padding2D()})), framework::dataset::make("Stride", {Size2D(1, 1)})), framework::dataset::make("ExcludePadding", true)), framework::dataset::make("DataType", DataType::F32))) |
|
| TEST_SUITE_END () FIXTURE_DATA_TEST_CASE(RunSmall = ActivationValidationQuantizedFixture<CLTensor, CLAccessor, CLActivationLayer, T> |
| [CLActivationLayer Test snippet] More...
|
|
| combine (combine(combine(combine(combine(combine(framework::dataset::make("InputShape", {TensorShape(27U, 13U, 2U), TensorShape(27U, 13U, 2U, 4U)}), framework::dataset::make("PoolingType", {PoolingType::AVG, PoolingType::MAX})), framework::dataset::make("PoolingSize", {Size2D(27, 13)})), framework::dataset::make("Pad", {Padding2D()})), framework::dataset::make("Stride", {Size2D(1, 1)})), framework::dataset::make("ExcludePadding", true)), framework::dataset::make("DataType", DataType::F16))) |
|
| FIXTURE_DATA_TEST_CASE (RunLarge, DynamicFusionGpuPool2dFixture< half >, framework::DatasetMode::NIGHTLY, combine(combine(combine(combine(combine(combine(framework::dataset::make("InputShape", {TensorShape(79U, 37U, 11U), TensorShape(79U, 37U, 11U, 4U)}), framework::dataset::make("PoolingType", {PoolingType::AVG, PoolingType::MAX})), framework::dataset::make("PoolingSize", {Size2D(79, 37)})), framework::dataset::make("Pad", {Padding2D()})), framework::dataset::make("Stride", {Size2D(1, 1)})), framework::dataset::make("ExcludePadding", true)), framework::dataset::make("DataType", DataType::F16))) |
|