ArmNN
 20.11
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 (CheckFillLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckFillLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckGatherLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckGatherLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckInstanceNormalizationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckInstanceNormalizationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckL2NormalizationLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckL2NormalizationLayerVisitorNameNullptrAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckLogicalBinaryLayerVisitorNameAndDescriptor)
 
 BOOST_AUTO_TEST_CASE (CheckLogicalBinaryLayerVisitorNameNullptrAndDescriptor)
 
 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/56]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameAndDescriptor  )

Definition at line 278 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/56]

BOOST_AUTO_TEST_CASE ( CheckActivationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 278 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/56]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 279 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/56]

BOOST_AUTO_TEST_CASE ( CheckArgMinMaxLayerVisitorNameAndDescriptor  )

Definition at line 279 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/56]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameAndDescriptor  )

Definition at line 280 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/56]

BOOST_AUTO_TEST_CASE ( CheckDepthToSpaceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 280 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/56]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 281 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/56]

BOOST_AUTO_TEST_CASE ( CheckBatchToSpaceNdLayerVisitorNameAndDescriptor  )

Definition at line 281 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/56]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameAndDescriptor  )

Definition at line 282 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/56]

BOOST_AUTO_TEST_CASE ( CheckComparisonLayerVisitorNameNullptrAndDescriptor  )

Definition at line 282 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/56]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameAndDescriptor  )

Definition at line 283 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/56]

BOOST_AUTO_TEST_CASE ( CheckConcatLayerVisitorNameNullptrAndDescriptor  )

Definition at line 283 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/56]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameAndDescriptor  )

Definition at line 284 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/56]

BOOST_AUTO_TEST_CASE ( CheckElementwiseUnaryLayerVisitorNameNullptrAndDescriptor  )

Definition at line 284 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/56]

BOOST_AUTO_TEST_CASE ( CheckFillLayerVisitorNameNullptrAndDescriptor  )

Definition at line 285 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/56]

BOOST_AUTO_TEST_CASE ( CheckFillLayerVisitorNameAndDescriptor  )

Definition at line 285 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/56]

BOOST_AUTO_TEST_CASE ( CheckGatherLayerVisitorNameAndDescriptor  )

Definition at line 286 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/56]

BOOST_AUTO_TEST_CASE ( CheckGatherLayerVisitorNameNullptrAndDescriptor  )

Definition at line 286 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/56]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 287 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/56]

BOOST_AUTO_TEST_CASE ( CheckInstanceNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 287 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/56]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameAndDescriptor  )

Definition at line 288 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/56]

BOOST_AUTO_TEST_CASE ( CheckL2NormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 288 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/56]

BOOST_AUTO_TEST_CASE ( CheckLogicalBinaryLayerVisitorNameAndDescriptor  )

Definition at line 289 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/56]

BOOST_AUTO_TEST_CASE ( CheckLogicalBinaryLayerVisitorNameNullptrAndDescriptor  )

Definition at line 289 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/56]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 290 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/56]

BOOST_AUTO_TEST_CASE ( CheckLogSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 290 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/56]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameAndDescriptor  )

Definition at line 291 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/56]

BOOST_AUTO_TEST_CASE ( CheckMeanLayerVisitorNameNullptrAndDescriptor  )

Definition at line 291 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/56]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameAndDescriptor  )

Definition at line 292 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [30/56]

BOOST_AUTO_TEST_CASE ( CheckNormalizationLayerVisitorNameNullptrAndDescriptor  )

Definition at line 292 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [31/56]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameNullptrAndDescriptor  )

Definition at line 293 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [32/56]

BOOST_AUTO_TEST_CASE ( CheckPadLayerVisitorNameAndDescriptor  )

Definition at line 293 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [33/56]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameAndDescriptor  )

Definition at line 294 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [34/56]

BOOST_AUTO_TEST_CASE ( CheckPermuteLayerVisitorNameNullptrAndDescriptor  )

Definition at line 294 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [35/56]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameAndDescriptor  )

Definition at line 295 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [36/56]

BOOST_AUTO_TEST_CASE ( CheckPooling2dLayerVisitorNameNullptrAndDescriptor  )

Definition at line 295 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [37/56]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameAndDescriptor  )

Definition at line 296 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [38/56]

BOOST_AUTO_TEST_CASE ( CheckReshapeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 296 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [39/56]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameAndDescriptor  )

Definition at line 297 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [40/56]

BOOST_AUTO_TEST_CASE ( CheckResizeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 297 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [41/56]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 298 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [42/56]

BOOST_AUTO_TEST_CASE ( CheckSliceLayerVisitorNameAndDescriptor  )

Definition at line 298 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [43/56]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameNullptrAndDescriptor  )

Definition at line 299 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [44/56]

BOOST_AUTO_TEST_CASE ( CheckSoftmaxLayerVisitorNameAndDescriptor  )

Definition at line 299 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [45/56]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameNullptrAndDescriptor  )

Definition at line 300 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [46/56]

BOOST_AUTO_TEST_CASE ( CheckSpaceToBatchNdLayerVisitorNameAndDescriptor  )

Definition at line 300 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [47/56]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameAndDescriptor  )

Definition at line 301 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [48/56]

BOOST_AUTO_TEST_CASE ( CheckSpaceToDepthLayerVisitorNameNullptrAndDescriptor  )

Definition at line 301 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [49/56]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameAndDescriptor  )

Definition at line 302 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [50/56]

BOOST_AUTO_TEST_CASE ( CheckSplitterLayerVisitorNameNullptrAndDescriptor  )

Definition at line 302 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [51/56]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameAndDescriptor  )

Definition at line 303 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [52/56]

BOOST_AUTO_TEST_CASE ( CheckStackLayerVisitorNameNullptrAndDescriptor  )

Definition at line 303 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [53/56]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameAndDescriptor  )

Definition at line 304 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [54/56]

BOOST_AUTO_TEST_CASE ( CheckStridedSliceLayerVisitorNameNullptrAndDescriptor  )

Definition at line 304 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [55/56]

BOOST_AUTO_TEST_CASE ( CheckTransposeLayerVisitorNameNullptrAndDescriptor  )

Definition at line 305 of file TestNameAndDescriptorLayerVisitor.cpp.

◆ BOOST_AUTO_TEST_CASE() [56/56]

BOOST_AUTO_TEST_CASE ( CheckTransposeLayerVisitorNameAndDescriptor  )

Definition at line 305 of file TestNameAndDescriptorLayerVisitor.cpp.