X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=documentation%2Fvalidation_2_c_l_2_activation_layer_8cpp.xhtml;h=eb1c99af2e8d47fe0c86de51587b21baf0dc05fb;hb=HEAD;hp=61bc73311e0817f16f942808a234227230ee5bf3;hpb=8140e1e155d3430992fa46e04ef8938ff09ffd2d;p=platform%2Fupstream%2Farmcl.git diff --git a/documentation/validation_2_c_l_2_activation_layer_8cpp.xhtml b/documentation/validation_2_c_l_2_activation_layer_8cpp.xhtml index 61bc733..eb1c99a 100644 --- a/documentation/validation_2_c_l_2_activation_layer_8cpp.xhtml +++ b/documentation/validation_2_c_l_2_activation_layer_8cpp.xhtml @@ -40,7 +40,7 @@
Compute Library -  17.12 +  18.05
@@ -128,13 +128,13 @@ $(document).ready(function(){initNavTree('validation_2_c_l_2_activation_layer_8c #include "arm_compute/runtime/CL/functions/CLActivationLayer.h"
#include "tests/CL/CLAccessor.h"
#include "tests/PaddingCalculator.h"
-#include "tests/datasets/ActivationFunctionsDataset.h"
-#include "tests/datasets/ShapeDatasets.h"
+#include "tests/datasets/ActivationFunctionsDataset.h"
+#include "tests/datasets/ShapeDatasets.h"
#include "tests/framework/Asserts.h"
#include "tests/framework/Macros.h"
#include "tests/framework/datasets/Datasets.h"
#include "tests/validation/Validation.h"
-#include "tests/validation/fixtures/ActivationLayerFixture.h"
+#include "tests/validation/fixtures/ActivationLayerFixture.h"

Go to the source code of this file.

@@ -164,8 +164,8 @@ Typedefs Functions - - + + @@ -174,14 +174,14 @@ Functions - - - - - - - - + + + + + + + + @@ -189,8 +189,10 @@ Functions
 DATA_TEST_CASE (Configuration, framework::DatasetMode::ALL, combine(combine(concat(datasets::SmallShapes(), datasets::LargeShapes()), CNNDataTypes), framework::dataset::make("InPlace",{false, true})), shape, data_type, in_place)
 
 DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(zip(framework::dataset::make("InputInfo",{TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2),}), framework::dataset::make("OutputInfo",{TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F16), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(30U, 11U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QS8, 3), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(),})), framework::dataset::make("ActivationInfo",{ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU),})), framework::dataset::make("Expected",{false, false, true, true, false, false, false, true, true})), input_info, output_info, act_info, expected)
 
 DATA_TEST_CASE (Validate, framework::DatasetMode::ALL, zip(zip(zip(framework::dataset::make("InputInfo",{TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2),}), framework::dataset::make("OutputInfo",{TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F16), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::F32), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QASYMM8), TensorInfo(TensorShape(30U, 11U, 2U), 1, DataType::F32), TensorInfo(TensorShape(27U, 13U, 2U), 1, DataType::QS8, 3), TensorInfo(TensorShape(32U, 13U, 2U), 1, DataType::QS8, 2), TensorInfo(),})), framework::dataset::make("ActivationInfo",{ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::TANH), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU), ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU),})), framework::dataset::make("Expected",{false, false, true, true, false, false, false, true, true})), input_info, output_info, act_info, expected)
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerFixture< half >, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F16)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLActivationLayerFixture< half >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F16)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLActivationLayerFixture< float >, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F32)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerFixedPointFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS8)), framework::dataset::make("FractionalBits", 3, 6)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLActivationLayerFixedPointFixture< int8_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS8)), framework::dataset::make("FractionalBits", 3, 6)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerFixedPointFixture< int16_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS16)), framework::dataset::make("FractionalBits", 1, 14)))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLActivationLayerFixedPointFixture< int16_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS16)), framework::dataset::make("FractionalBits", 1, 14)))
 
 FIXTURE_DATA_TEST_CASE (RunTiny, CLActivationLayerFixedPointFixture< int8_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::TinyShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS8)), framework::dataset::make("FractionalBits", 3, 6)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerFixedPointFixture< int8_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS8)), framework::dataset::make("FractionalBits", 3, 6)))
 
 FIXTURE_DATA_TEST_CASE (RunTiny, CLActivationLayerFixedPointFixture< int16_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::TinyShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS16)), framework::dataset::make("FractionalBits", 1, 14)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerFixedPointFixture< int16_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::QS16)), framework::dataset::make("FractionalBits", 1, 14)))
 
 FIXTURE_DATA_TEST_CASE (RunSmall, CLActivationLayerQuantizedFixture< uint8_t >, framework::DatasetMode::PRECOMMIT, combine(combine(combine(datasets::SmallShapes(), QuantizedActivationDataset), framework::dataset::make("DataType", DataType::QASYMM8)), framework::dataset::make("QuantizationInfo",{QuantizationInfo(0.1f, 128.0f)})))
 
 FIXTURE_DATA_TEST_CASE (RunLarge, CLActivationLayerQuantizedFixture< uint8_t >, framework::DatasetMode::NIGHTLY, combine(combine(combine(datasets::LargeShapes(), QuantizedActivationDataset), framework::dataset::make("DataType", DataType::QASYMM8)), framework::dataset::make("QuantizationInfo",{QuantizationInfo(0.1f, 128.0f)})))
+ + + -

Variables

const auto QuantizedActivationFunctionsDataset
 Input data sets. More...
 
const auto QuantizedActivationDataset
 Input data sets. More...
 
@@ -199,7 +201,7 @@ Variables