From d5d43d82c0137e08553e44345c609cdd1a7931c7 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 17 Jun 2022 13:24:58 +0100 Subject: Update Doxygen for 22.05 patch release * Pooling3D added to tfLite delegate * Available in tag 22.05.01 Signed-off-by: Nikhil Raj Change-Id: I8d605bba4e87d30baa2c6d7b338c78a4400dc021 --- ...eon_layer_tests___n_d_k___bug_8cpp_source.xhtml | 127 +++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 22.05.01/_neon_layer_tests___n_d_k___bug_8cpp_source.xhtml (limited to '22.05.01/_neon_layer_tests___n_d_k___bug_8cpp_source.xhtml') diff --git a/22.05.01/_neon_layer_tests___n_d_k___bug_8cpp_source.xhtml b/22.05.01/_neon_layer_tests___n_d_k___bug_8cpp_source.xhtml new file mode 100644 index 0000000000..14bbef5ea3 --- /dev/null +++ b/22.05.01/_neon_layer_tests___n_d_k___bug_8cpp_source.xhtml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + +ArmNN: src/backends/neon/test/NeonLayerTests_NDK_Bug.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.05.01 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
NeonLayerTests_NDK_Bug.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2021 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
8 #include <UnitTests.hpp>
11 
12 #include <doctest/doctest.h>
13 
14 TEST_SUITE("Compute_ArmComputeNeon")
15 {
16 using namespace armnn;
17 
18 using FactoryType = NeonWorkloadFactory;
19 
20 // ============================================================================
21 // This is a specific subset of NeonLayerTests that can fail because of a known problem
22 // in the Android NDK. https://github.com/android/ndk/issues/1135
23 // We extract them here so then in the case of a debug Android build they can be excluded.
24 // The tests will pass in a release build. The problem has been corrected in NDK r21.
25 
26 // Softmax
27 ARMNN_AUTO_TEST_CASE_WITH_THF(SimpleSoftmaxBeta1, SimpleSoftmaxTest, 1.0f)
28 ARMNN_AUTO_TEST_CASE_WITH_THF(SimpleSoftmaxBeta2, SimpleSoftmaxTest, 2.0f)
29 
30 // LogSoftmax
31 ARMNN_AUTO_TEST_CASE_WITH_THF(LogSoftmaxFloat32_1, LogSoftmaxTest1<DataType::Float32>)
32 
34 
35 ARMNN_AUTO_TEST_CASE_WITH_THF(LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNorm,
37 
38 ARMNN_AUTO_TEST_CASE_WITH_THF(UnidirectionalSequenceLstmLayerNoCifgWithPeepholeWithProjectionWithLayerNorm,
40 
41 // ReduceSum
42 ARMNN_AUTO_TEST_CASE_WITH_THF(ReduceSumFloat32, ReduceSumSimpleTest<DataType::Float32>)
43 
44 ARMNN_AUTO_TEST_CASE_WITH_THF(ReduceSumSingleAxisFloat32_3, ReduceSumSingleAxisTest3<DataType::Float32>)
45 
46 #if defined(ARMNNREF_ENABLED)
47 
48 ARMNN_COMPARE_REF_AUTO_TEST_CASE_WITH_THF(CompareSoftmaxBeta1WithReference, CompareSoftmaxTest, 1.0f)
49 ARMNN_COMPARE_REF_AUTO_TEST_CASE_WITH_THF(CompareSoftmaxBeta2WithReference, CompareSoftmaxTest, 2.0f)
50 
51 #endif
52 
53 }
+ +
Copyright (c) 2021 ARM Limited and Contributors.
+
TEST_SUITE("Compute_ArmComputeNeon")
+
LayerTestResult< float, 4 > L2Normalization1dTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory, const armnn::DataLayout layout)
+
LayerTestResult< float, 3 > UnidirectionalSequenceLstmLayerNoCifgWithPeepholeWithProjectionWithLayerNormTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory)
+ +
LayerTestResult< float, 2 > CompareSoftmaxTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, armnn::IWorkloadFactory &refWorkloadFactory, const armnn::ITensorHandleFactory &tensorHandleFactory, const armnn::ITensorHandleFactory &refTensorHandleFactory, float beta)
+
#define ARMNN_COMPARE_REF_AUTO_TEST_CASE_WITH_THF(TestName, TestFunction,...)
Definition: UnitTests.hpp:175
+
#define ARMNN_AUTO_TEST_CASE_WITH_THF(TestName, TestFunction,...)
Definition: UnitTests.hpp:129
+ +
LayerTestResult< float, 2 > LstmLayerFloat32NoCifgWithPeepholeWithProjectionWithLayerNormTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory)
+
LayerTestResult< float, 2 > SimpleSoftmaxTest(armnn::IWorkloadFactory &workloadFactory, const armnn::IBackendInternal::IMemoryManagerSharedPtr &memoryManager, const armnn::ITensorHandleFactory &tensorHandleFactory, float beta)
+ +
+
+ + + + -- cgit v1.2.1