diff options
Diffstat (limited to 'tests')
4 files changed, 9 insertions, 9 deletions
diff --git a/tests/validation/CL/UNIT/DynamicTensor.cpp b/tests/validation/CL/UNIT/DynamicTensor.cpp index 85381efe62..ceb505142a 100644 --- a/tests/validation/CL/UNIT/DynamicTensor.cpp +++ b/tests/validation/CL/UNIT/DynamicTensor.cpp @@ -50,14 +50,16 @@ namespace constexpr AbsoluteTolerance<float> absolute_tolerance_float(0.0001f); /**< Absolute Tolerance value for comparing reference's output against implementation's output for DataType::F32 */ RelativeTolerance<float> tolerance_f32(0.1f); /**< Tolerance value for comparing reference's output against implementation's output for DataType::F32 */ constexpr float tolerance_num = 0.07f; /**< Tolerance number */ +} // namespace +#ifndef DOXYGEN_SKIP_THIS using CLL2NormLayerWrapper = SimpleFunctionWrapper<MemoryManagerOnDemand, CLL2NormalizeLayer, ICLTensor>; template <> void CLL2NormLayerWrapper::configure(ICLTensor *src, ICLTensor *dst) { _func.configure(src, dst, 0, 0.0001f); } -} // namespace +#endif // DOXYGEN_SKIP_THIS TEST_SUITE(CL) TEST_SUITE(UNIT) TEST_SUITE(DynamicTensor) diff --git a/tests/validation/GLES_COMPUTE/UNIT/DynamicTensor.cpp b/tests/validation/GLES_COMPUTE/UNIT/DynamicTensor.cpp index cab854424e..f7264b281e 100644 --- a/tests/validation/GLES_COMPUTE/UNIT/DynamicTensor.cpp +++ b/tests/validation/GLES_COMPUTE/UNIT/DynamicTensor.cpp @@ -43,15 +43,15 @@ namespace test { namespace validation { -namespace -{ +#ifndef DOXYGEN_SKIP_THIS using GCNormLayerWrapper = SimpleFunctionWrapper<MemoryManagerOnDemand, GCNormalizationLayer, IGCTensor>; template <> void GCNormLayerWrapper::configure(IGCTensor *src, IGCTensor *dst) { _func.configure(src, dst, NormalizationLayerInfo(NormType::CROSS_MAP, 3)); } -} // namespace +#endif // DOXYGEN_SKIP_THIS + TEST_SUITE(GC) TEST_SUITE(UNIT) TEST_SUITE(DynamicTensor) diff --git a/tests/validation/NEON/UNIT/DynamicTensor.cpp b/tests/validation/NEON/UNIT/DynamicTensor.cpp index 53dec53912..76f30d00e5 100644 --- a/tests/validation/NEON/UNIT/DynamicTensor.cpp +++ b/tests/validation/NEON/UNIT/DynamicTensor.cpp @@ -47,14 +47,15 @@ namespace constexpr AbsoluteTolerance<float> absolute_tolerance_float(0.0001f); /**< Absolute Tolerance value for comparing reference's output against implementation's output for DataType::F32 */ RelativeTolerance<float> tolerance_f32(0.1f); /**< Tolerance value for comparing reference's output against implementation's output for DataType::F32 */ constexpr float tolerance_num = 0.07f; /**< Tolerance number */ - +} // namespace +#ifndef DOXYGEN_SKIP_THIS using NENormLayerWrapper = SimpleFunctionWrapper<MemoryManagerOnDemand, NENormalizationLayer, ITensor>; template <> void NENormLayerWrapper::configure(arm_compute::ITensor *src, arm_compute::ITensor *dst) { _func.configure(src, dst, NormalizationLayerInfo(NormType::CROSS_MAP, 3)); } -} // namespace +#endif // DOXYGEN_SKIP_THIS TEST_SUITE(NEON) TEST_SUITE(UNIT) TEST_SUITE(DynamicTensor) diff --git a/tests/validation/fixtures/UNIT/DynamicTensorFixture.h b/tests/validation/fixtures/UNIT/DynamicTensorFixture.h index 02d28fa78d..86380509ed 100644 --- a/tests/validation/fixtures/UNIT/DynamicTensorFixture.h +++ b/tests/validation/fixtures/UNIT/DynamicTensorFixture.h @@ -41,8 +41,6 @@ namespace test { namespace validation { -namespace -{ template <typename AllocatorType, typename LifetimeMgrType, typename PoolMgrType, @@ -114,7 +112,6 @@ public: private: FuncType _func; }; -} // namespace /** Simple test case to run a single function with different shapes twice. * |