MLCE-510 Add CpuRef Shape Operator to ArmNN
* Add front end
* Add reference workload
* Serialization/Deserialization
* Add unit tests
* Update ArmNN Versioning
Signed-off-by: Keith Davis <keith.davis@arm.com>
Change-Id: I6fcb1fa341d6f08dea4003b13544e6e9f53fefd3
diff --git a/include/armnn/Types.hpp b/include/armnn/Types.hpp
index ac4dd31..e7c1760 100644
--- a/include/armnn/Types.hpp
+++ b/include/armnn/Types.hpp
@@ -332,7 +332,8 @@
X(Addition) \
X(ArgMinMax) \
X(BatchNormalization) \
- X(BatchToSpaceNd) \
+ X(BatchToSpaceNd) \
+ X(Cast) \
X(Comparison) \
X(Concat) \
X(Constant) \
@@ -381,6 +382,7 @@
X(Rank) \
X(Resize) \
X(Reduce) \
+ X(Shape) \
X(Slice) \
X(Softmax) \
X(SpaceToBatchNd) \
@@ -394,7 +396,7 @@
X(Transpose) \
X(TransposeConvolution2d) \
X(Unmap) \
- X(Cast)
+
/// When adding a new layer, adapt also the LastLayer enum value in the
/// enum class LayerType below
enum class LayerType
@@ -403,7 +405,7 @@
LIST_OF_LAYER_TYPE
#undef X
FirstLayer = Activation,
- LastLayer = Cast
+ LastLayer = Unmap
};
const char* GetLayerTypeAsCString(LayerType type);