ArmNN
 20.02
InternalTypes.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
7 #include <armnn/Types.hpp>
8 
9 #include <array>
10 
11 namespace armnn
12 {
13 
14 enum class LayerType
15 {
16  FirstLayer,
18  Addition,
19  ArgMinMax,
22  Comparison,
23  Concat,
24  Constant,
28  Debug,
31  Dequantize,
33  Division,
36  Floor,
38  Gather,
39  Input,
42  LogSoftmax,
43  Lstm,
44  Maximum,
45  Mean,
46  MemCopy,
47  MemImport,
48  Merge,
49  Minimum,
52  Output,
53  Pad,
54  Permute,
55  Pooling2d,
57  Prelu,
58  Quantize,
60  Reshape,
61  Resize,
62  Slice,
63  Softmax,
66  Splitter,
67  Stack,
68  StandIn,
71  Switch,
73  // Last layer goes here.
74  LastLayer,
75  Transpose = LastLayer
76 };
77 
78 const char* GetLayerTypeAsCString(LayerType type);
79 
80 using Coordinates = std::array<unsigned int, MaxNumOfTensorDimensions>;
81 using Dimensions = std::array<unsigned int, MaxNumOfTensorDimensions>;
82 
83 }
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
Copyright (c) 2020 ARM Limited.
char const * GetLayerTypeAsCString(LayerType type)
std::array< unsigned int, MaxNumOfTensorDimensions > Dimensions