ArmNN  NotReleased
TestNameAndDescriptorLayerVisitor.cpp File Reference

Go to the source code of this file.

Macros

#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_AND_DESCRIPTOR(name)
 
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR_AND_DESCRIPTOR(name)
 
#define TEST_SUITE_NAME_AND_DESCRIPTOR_LAYER_VISITOR(name)
 

Functions

 BOOST_AUTO_TEST_CASE (CheckActivationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckActivationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckArgMinMaxLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckArgMinMaxLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckDepthToSpaceLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckDepthToSpaceLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckBatchToSpaceNdLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckBatchToSpaceNdLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckComparisonLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckComparisonLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckConcatLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckConcatLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckElementwiseUnaryLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckElementwiseUnaryLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckInstanceNormalizationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckInstanceNormalizationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckL2NormalizationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckL2NormalizationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckLogSoftmaxLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckLogSoftmaxLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckMeanLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckMeanLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckNormalizationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckNormalizationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPadLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPadLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPermuteLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPermuteLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPooling2dLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckPooling2dLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckReshapeLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckReshapeLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckResizeLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckResizeLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSliceLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSliceLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSoftmaxLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSoftmaxLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSpaceToBatchNdLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSpaceToBatchNdLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSpaceToDepthLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSpaceToDepthLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSplitterLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckSplitterLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckStackLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckStackLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckStridedSliceLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckStridedSliceLayerVisitorNameNullptrAndDescriptor)
 

Macro Definition Documentation

◆ TEST_CASE_CHECK_LAYER_VISITOR_NAME_AND_DESCRIPTOR

#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_AND_DESCRIPTOR (   name)
Value:
BOOST_AUTO_TEST_CASE(Check##name##LayerVisitorNameAndDescriptor) \
{ \
const char* layerName = "name##Layer"; \
armnn::name##Descriptor descriptor = GetDescriptor<armnn::name##Descriptor>(); \
Test##name##LayerVisitor visitor(descriptor, layerName); \
armnn::Network net; \
armnn::IConnectableLayer *const layer = net.Add##name##Layer(descriptor, layerName); \
layer->Accept(visitor); \
}
BOOST_AUTO_TEST_CASE(CheckActivationLayerVisitorNameAndDescriptor)

Definition at line 13 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR_AND_DESCRIPTOR

#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR_AND_DESCRIPTOR (   name)
Value:
BOOST_AUTO_TEST_CASE(Check##name##LayerVisitorNameNullptrAndDescriptor) \
{ \
armnn::name##Descriptor descriptor = GetDescriptor<armnn::name##Descriptor>(); \
Test##name##LayerVisitor visitor(descriptor); \
armnn::Network net; \
armnn::IConnectableLayer *const layer = net.Add##name##Layer(descriptor); \
layer->Accept(visitor); \
}
BOOST_AUTO_TEST_CASE(CheckActivationLayerVisitorNameAndDescriptor)

Definition at line 24 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ TEST_SUITE_NAME_AND_DESCRIPTOR_LAYER_VISITOR

#define TEST_SUITE_NAME_AND_DESCRIPTOR_LAYER_VISITOR (   name)
Value:
TEST_CASE_CHECK_LAYER_VISITOR_NAME_NULLPTR_AND_DESCRIPTOR(name)
#define TEST_CASE_CHECK_LAYER_VISITOR_NAME_AND_DESCRIPTOR(name)

Definition at line 34 of file TestNameAndDescriptorLayerVisitor.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/48]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameAndDescriptor  )

Definition at line 254 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/48]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 254 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/48]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 255 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/48]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameAndDescriptor  )

Definition at line 255 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/48]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameAndDescriptor  )

Definition at line 256 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/48]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 256 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/48]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 257 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/48]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameAndDescriptor  )

Definition at line 257 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/48]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameAndDescriptor  )

Definition at line 258 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/48]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameNullptrAndDescriptor  )

Definition at line 258 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/48]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameAndDescriptor  )

Definition at line 259 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/48]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameNullptrAndDescriptor  )

Definition at line 259 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/48]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameAndDescriptor  )

Definition at line 260 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/48]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameNullptrAndDescriptor  )

Definition at line 260 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/48]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 261 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/48]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 261 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/48]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameAndDescriptor  )

Definition at line 262 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/48]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 262 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/48]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 263 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/48]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 263 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/48]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameAndDescriptor  )

Definition at line 264 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/48]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameNullptrAndDescriptor  )

Definition at line 264 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/48]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 265 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/48]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 265 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/48]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameAndDescriptor  )

Definition at line 266 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/48]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameNullptrAndDescriptor  )

Definition at line 266 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/48]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameAndDescriptor  )

Definition at line 267 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/48]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameNullptrAndDescriptor  )

Definition at line 267 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/48]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameAndDescriptor  )

Definition at line 268 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [30/48]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameNullptrAndDescriptor  )

Definition at line 268 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [31/48]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 269 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [32/48]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameAndDescriptor  )

Definition at line 269 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [33/48]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameAndDescriptor  )

Definition at line 270 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [34/48]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 270 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [35/48]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 271 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [36/48]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameAndDescriptor  )

Definition at line 271 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [37/48]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 272 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [38/48]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 272 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [39/48]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameAndDescriptor  )

Definition at line 273 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [40/48]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 273 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [41/48]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameNullptrAndDescriptor  )

Definition at line 274 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [42/48]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameAndDescriptor  )

Definition at line 274 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [43/48]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameNullptrAndDescriptor  )

Definition at line 275 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [44/48]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameAndDescriptor  )

Definition at line 275 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [45/48]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameNullptrAndDescriptor  )

Definition at line 276 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [46/48]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameAndDescriptor  )

Definition at line 276 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [47/48]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 277 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [48/48]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameAndDescriptor  )

Definition at line 277 of file TestNameAndDescriptorLayerVisitor.cpp.