From 2bfadd92d638fd4e7b8b3398ce95f15930749189 Mon Sep 17 00:00:00 2001 From: thecha01 Date: Wed, 12 Aug 2020 17:25:51 +0100 Subject: Add StridedSliceLayerNode to graph API Signed-off-by: thecha01 Change-Id: I6d6fb2b053c74e35a86841621486bc0cd34b12b3 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3911 Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio Comments-Addressed: Arm Jenkins --- src/graph/backends/NEON/NENodeValidator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/graph/backends/NEON/NENodeValidator.cpp') diff --git a/src/graph/backends/NEON/NENodeValidator.cpp b/src/graph/backends/NEON/NENodeValidator.cpp index 0f860b63f3..46f0051468 100644 --- a/src/graph/backends/NEON/NENodeValidator.cpp +++ b/src/graph/backends/NEON/NENodeValidator.cpp @@ -104,6 +104,8 @@ Status NENodeValidator::validate(INode *node) return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : ROIAlignLayer"); case NodeType::SliceLayer: return ARM_COMPUTE_CREATE_ERROR(arm_compute::ErrorCode::RUNTIME_ERROR, "Unsupported operation : SliceLayer"); + case NodeType::StridedSliceLayer: + return detail::validate_strided_slice_layer(*polymorphic_downcast(node)); case NodeType::UpsampleLayer: return detail::validate_upsample_layer(*polymorphic_downcast(node)); case NodeType::YOLOLayer: -- cgit v1.2.1