2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
7 #include <armnn/Types.hpp>
12 /// This list uses X macro technique.
13 /// See https://en.wikipedia.org/wiki/X_Macro for more info
14 #define LIST_OF_LAYER_TYPE \
18 X(BatchNormalization) \
23 X(ConvertBf16ToFp32) \
24 X(ConvertFp16ToFp32) \
25 X(ConvertFp32ToBf16) \
26 X(ConvertFp32ToFp16) \
30 X(DepthwiseConvolution2d) \
32 X(DetectionPostProcess) \
41 X(InstanceNormalization) \
78 X(TransposeConvolution2d) \
81 /// When adding a new layer, adapt also the LastLayer enum value in the
82 /// enum class LayerType below
91 FirstLayer = Activation,
95 const char* GetLayerTypeAsCString(LayerType type);
97 using Coordinates = std::array<unsigned int, MaxNumOfTensorDimensions>;
98 using Dimensions = std::array<unsigned int, MaxNumOfTensorDimensions>;