From f86be93b7492b381370cae7bf71eca8572a0cbae Mon Sep 17 00:00:00 2001 From: Matthew Sloyan Date: Tue, 24 Aug 2021 16:27:15 +0100 Subject: IVGCVSW-5924 Update 21.08 Doxygen Documents * Also updated latest symlink. Signed-off-by: Matthew Sloyan Change-Id: If9b4e0e52464abdf797b9eb858ae19bcc64c2aea --- 21.08/_test_name_only_layer_visitor_8cpp.xhtml | 228 +++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 21.08/_test_name_only_layer_visitor_8cpp.xhtml (limited to '21.08/_test_name_only_layer_visitor_8cpp.xhtml') diff --git a/21.08/_test_name_only_layer_visitor_8cpp.xhtml b/21.08/_test_name_only_layer_visitor_8cpp.xhtml new file mode 100644 index 0000000000..e806ec11ac --- /dev/null +++ b/21.08/_test_name_only_layer_visitor_8cpp.xhtml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/test/TestNameOnlyLayerVisitor.cpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TestNameOnlyLayerVisitor.cpp File Reference
+
+
+
#include "TestNameOnlyLayerVisitor.hpp"
+#include <Network.hpp>
+#include <doctest/doctest.h>
+
+

Go to the source code of this file.

+ + + + + + +

+Macros

#define TEST_CASE_CHECK_LAYER_VISITOR_NAME(name, testName)
 
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(name, testName)
 
+ + + +

+Functions

 TEST_SUITE ("TestNameOnlyLayerVisitor")
 
+

Macro Definition Documentation

+ +

◆ TEST_CASE_CHECK_LAYER_VISITOR_NAME

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME( name,
 testName 
)
+
+Value:
TEST_CASE(#testName) \
{ \
Test##name##LayerVisitor visitor("name##Layer"); \
armnn::NetworkImpl net; \
armnn::IConnectableLayer *const layer = net.Add##name##Layer("name##Layer"); \
layer->Accept(visitor); \
}
+
+

Definition at line 15 of file TestNameOnlyLayerVisitor.cpp.

+ +

Referenced by TEST_SUITE().

+ +
+
+ +

◆ TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR( name,
 testName 
)
+
+Value:
TEST_CASE(#testName) \
{ \
Test##name##LayerVisitor visitor; \
armnn::NetworkImpl net; \
armnn::IConnectableLayer *const layer = net.Add##name##Layer(); \
layer->Accept(visitor); \
}
+
+

Definition at line 24 of file TestNameOnlyLayerVisitor.cpp.

+ +

Referenced by TEST_SUITE().

+ +
+
+

Function Documentation

+ +

◆ TEST_SUITE()

+ +
+
+ + + + + + + + +
TEST_SUITE ("TestNameOnlyLayerVisitor" )
+
+ +

Definition at line 35 of file TestNameOnlyLayerVisitor.cpp.

+ +

References armnn::Dequantize(), armnn::Quantize(), TEST_CASE_CHECK_LAYER_VISITOR_NAME, and TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR.

+
36 {
37 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Addition, CheckAdditionLayerVisitorName)
38 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Addition, CheckAdditionLayerVisitorNameNullptr)
39 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Dequantize, CheckDequantizeLayerVisitorName)
40 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Dequantize, CheckDequantizeLayerVisitorNameNullptr)
41 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Division, CheckDivisionLayerVisitorName)
42 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Division, CheckDivisionLayerVisitorNameNullptr)
43 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Floor, CheckFloorLayerVisitorName)
44 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Floor, CheckFloorLayerVisitorNameNullptr)
45 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Maximum, CheckMaximumLayerVisitorName)
46 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Maximum, CheckMaximumLayerVisitorNameNullptr)
47 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Merge, CheckMergeLayerVisitorName)
48 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Merge, CheckMergeLayerVisitorNameNullptr)
49 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Minimum, CheckMinimumLayerVisitorName)
50 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Minimum, CheckMinimumLayerVisitorNameNullptr)
51 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Multiplication, CheckMultiplicationLayerVisitorName)
52 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Multiplication, CheckMultiplicationLayerVisitorNameNullptr)
53 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Prelu, CheckPreluLayerVisitorName)
54 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Prelu, CheckPreluLayerVisitorNameNullptr)
55 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Quantize, CheckQuantizeLayerVisitorName)
56 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Quantize, CheckQuantizeLayerVisitorNameNullptr)
57 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Rank, CheckRankLayerVisitorName)
58 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Rank, CheckRankLayerVisitorNameNullptr)
59 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Subtraction, CheckSubtractionLayerVisitorName)
60 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Subtraction, CheckSubtractionLayerVisitorNameNullptr)
61 TEST_CASE_CHECK_LAYER_VISITOR_NAME(Switch, CheckSwitchLayerVisitorName)
62 TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(Switch, CheckSwitchLayerVisitorNameNullptr)
63 
64 }
float Dequantize(QuantizedType value, float scale, int32_t offset)
Dequantize an 8-bit data type into a floating point data type.
Definition: TypesUtils.cpp:46
+
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR(name, testName)
+
QuantizedType Quantize(float value, float scale, int32_t offset)
Quantize a floating point data type into an 8-bit data type.
Definition: TypesUtils.cpp:30
+
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME(name, testName)
+
+
+
+
+
+ + + + -- cgit v1.2.1