ArmNN
 20.05
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)
 
 BOOST_AUTO_TEST_CASE (CheckTransposeLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckTransposeLayerVisitorNameNullptrAndDescriptor)
 

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/50]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameAndDescriptor  )

Definition at line 260 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/50]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 260 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/50]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 261 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/50]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameAndDescriptor  )

Definition at line 261 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/50]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameAndDescriptor  )

Definition at line 262 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/50]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 262 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/50]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 263 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/50]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameAndDescriptor  )

Definition at line 263 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/50]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameAndDescriptor  )

Definition at line 264 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/50]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameNullptrAndDescriptor  )

Definition at line 264 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/50]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameAndDescriptor  )

Definition at line 265 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/50]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameNullptrAndDescriptor  )

Definition at line 265 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/50]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameAndDescriptor  )

Definition at line 266 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/50]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameNullptrAndDescriptor  )

Definition at line 266 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/50]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 267 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/50]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 267 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/50]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameAndDescriptor  )

Definition at line 268 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/50]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 268 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/50]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 269 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/50]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 269 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/50]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameAndDescriptor  )

Definition at line 270 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/50]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameNullptrAndDescriptor  )

Definition at line 270 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/50]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 271 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/50]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 271 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/50]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameAndDescriptor  )

Definition at line 272 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/50]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameNullptrAndDescriptor  )

Definition at line 272 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/50]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameAndDescriptor  )

Definition at line 273 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/50]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameNullptrAndDescriptor  )

Definition at line 273 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/50]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameAndDescriptor  )

Definition at line 274 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [30/50]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameNullptrAndDescriptor  )

Definition at line 274 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [31/50]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 275 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [32/50]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameAndDescriptor  )

Definition at line 275 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [33/50]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameAndDescriptor  )

Definition at line 276 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [34/50]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 276 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [35/50]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameAndDescriptor  )

Definition at line 277 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [36/50]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 277 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [37/50]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 278 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [38/50]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 278 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [39/50]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 279 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [40/50]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameAndDescriptor  )

Definition at line 279 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [41/50]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameAndDescriptor  )

Definition at line 280 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [42/50]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameNullptrAndDescriptor  )

Definition at line 280 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [43/50]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameAndDescriptor  )

Definition at line 281 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [44/50]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameNullptrAndDescriptor  )

Definition at line 281 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [45/50]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameAndDescriptor  )

Definition at line 282 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [46/50]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameNullptrAndDescriptor  )

Definition at line 282 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [47/50]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameAndDescriptor  )

Definition at line 283 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [48/50]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 283 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [49/50]

BOOST_AUTO_TEST_CASE ( CheckTransposeLayerVisitorNameAndDescriptor  )

Definition at line 284 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [50/50]

BOOST_AUTO_TEST_CASE ( CheckTransposeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 284 of file TestNameAndDescriptorLayerVisitor.cpp.