diff options
Diffstat (limited to 'tests/validation')
-rw-r--r-- | tests/validation/CL/ActivationLayer.cpp | 4 | ||||
-rw-r--r-- | tests/validation/fixtures/ReshapeLayerFixture.h | 2 | ||||
-rw-r--r-- | tests/validation/reference/ReshapeLayer.cpp | 2 | ||||
-rw-r--r-- | tests/validation/reference/ReshapeLayer.h | 3 |
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/validation/CL/ActivationLayer.cpp b/tests/validation/CL/ActivationLayer.cpp index 8a6d5ad88a..54adc65247 100644 --- a/tests/validation/CL/ActivationLayer.cpp +++ b/tests/validation/CL/ActivationLayer.cpp @@ -162,11 +162,14 @@ DATA_TEST_CASE(Validate, framework::DatasetMode::ALL, zip(zip(zip( // clang-format on // *INDENT-ON* +/** [CLActivationLayerFixture snippet] **/ template <typename T> using CLActivationLayerFixture = ActivationValidationFixture<CLTensor, CLAccessor, CLActivationLayer, T>; +/** [CLActivationLayerFixture snippet] **/ TEST_SUITE(Float) TEST_SUITE(FP16) +/** [CLActivationLayer Test snippet] **/ FIXTURE_DATA_TEST_CASE(RunSmall, CLActivationLayerFixture<half>, framework::DatasetMode::PRECOMMIT, combine(combine(datasets::SmallShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F16))) @@ -174,6 +177,7 @@ FIXTURE_DATA_TEST_CASE(RunSmall, CLActivationLayerFixture<half>, framework::Data // Validate output validate(CLAccessor(_target), _reference, tolerance(_function, _data_type)); } +/** [CLActivationLayer Test snippet] **/ FIXTURE_DATA_TEST_CASE(RunLarge, CLActivationLayerFixture<half>, framework::DatasetMode::NIGHTLY, combine(combine(datasets::LargeShapes(), ActivationDataset), framework::dataset::make("DataType", DataType::F16))) diff --git a/tests/validation/fixtures/ReshapeLayerFixture.h b/tests/validation/fixtures/ReshapeLayerFixture.h index 2bd514830f..22f5b178b3 100644 --- a/tests/validation/fixtures/ReshapeLayerFixture.h +++ b/tests/validation/fixtures/ReshapeLayerFixture.h @@ -39,6 +39,7 @@ namespace test { namespace validation { +/** [ReshapeLayer fixture] **/ template <typename TensorType, typename AccessorType, typename FunctionType, typename T> class ReshapeLayerValidationFixture : public framework::Fixture { @@ -104,6 +105,7 @@ protected: TensorType _target{}; SimpleTensor<T> _reference{}; }; +/** [ReshapeLayer fixture] **/ } // namespace validation } // namespace test } // namespace arm_compute diff --git a/tests/validation/reference/ReshapeLayer.cpp b/tests/validation/reference/ReshapeLayer.cpp index 42f06e4f5a..85bf3fcb76 100644 --- a/tests/validation/reference/ReshapeLayer.cpp +++ b/tests/validation/reference/ReshapeLayer.cpp @@ -33,6 +33,7 @@ namespace validation { namespace reference { +/** [ReshapeLayer] **/ template <typename T> SimpleTensor<T> reshape_layer(const SimpleTensor<T> &src, const TensorShape &output_shape) { @@ -51,6 +52,7 @@ template SimpleTensor<uint32_t> reshape_layer(const SimpleTensor<uint32_t> &src, template SimpleTensor<int32_t> reshape_layer(const SimpleTensor<int32_t> &src, const TensorShape &output_shape); template SimpleTensor<half> reshape_layer(const SimpleTensor<half> &src, const TensorShape &output_shape); template SimpleTensor<float> reshape_layer(const SimpleTensor<float> &src, const TensorShape &output_shape); +/** [ReshapeLayer] **/ } // namespace reference } // namespace validation } // namespace test diff --git a/tests/validation/reference/ReshapeLayer.h b/tests/validation/reference/ReshapeLayer.h index fc6c716d7a..9e42f80642 100644 --- a/tests/validation/reference/ReshapeLayer.h +++ b/tests/validation/reference/ReshapeLayer.h @@ -34,8 +34,11 @@ namespace validation { namespace reference { +/** [ReshapeLayer] **/ template <typename T> SimpleTensor<T> reshape_layer(const SimpleTensor<T> &src, const TensorShape &output_shape); +/** [ReshapeLayer] **/ + } // namespace reference } // namespace validation } // namespace test |