From 05069f07bcf95676597698a79926327555276362 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Thu, 26 Sep 2019 17:18:26 +0100 Subject: COMPMID-2515: Merge optimized depthwise convolution to the generic depthwise convolution function 3RDPARTY_UPDATE Change-Id: Iff9e915c5329c617527b6f5042979f4e21a8b2b8 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/2022 Comments-Addressed: Arm Jenkins Reviewed-by: Giorgio Arena Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- src/graph/backends/NEON/NEFunctionFactory.cpp | 9 +-------- src/graph/backends/NEON/NENodeValidator.cpp | 3 +-- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src/graph/backends/NEON') diff --git a/src/graph/backends/NEON/NEFunctionFactory.cpp b/src/graph/backends/NEON/NEFunctionFactory.cpp index 45e9727133..d8b0ae92ea 100644 --- a/src/graph/backends/NEON/NEFunctionFactory.cpp +++ b/src/graph/backends/NEON/NEFunctionFactory.cpp @@ -62,13 +62,6 @@ struct NEConvolutionLayerFunctions using WinogradConvolutionLayer = NEWinogradConvolutionLayer; }; -/** Collection of CL depthwise convolution functions */ -struct NEDepthwiseConvolutionLayerFunctions -{ - using GenericDepthwiseConvolutionLayer = NEDepthwiseConvolutionLayer; - using OptimizedDepthwiseConvolutionLayer = NEDepthwiseConvolutionLayerOptimized; -}; - /** Collection of CL element-wise functions */ struct NEEltwiseFunctions { @@ -213,7 +206,7 @@ std::unique_ptr NEFunctionFactory::create(INode *node, GraphContext & case NodeType::ConcatenateLayer: return detail::create_concatenate_layer(*polymorphic_downcast(node)); case NodeType::DepthwiseConvolutionLayer: - return detail::create_depthwise_convolution_layer(*polymorphic_downcast(node)); + return detail::create_depthwise_convolution_layer(*polymorphic_downcast(node)); case NodeType::DetectionOutputLayer: return detail::create_detection_output_layer(*polymorphic_downcast(node)); case NodeType::DetectionPostProcessLayer: diff --git a/src/graph/backends/NEON/NENodeValidator.cpp b/src/graph/backends/NEON/NENodeValidator.cpp index 734b3401f7..0b53657c42 100644 --- a/src/graph/backends/NEON/NENodeValidator.cpp +++ b/src/graph/backends/NEON/NENodeValidator.cpp @@ -58,8 +58,7 @@ Status NENodeValidator::validate(INode *node) NEGEMMConvolutionLayer, NEWinogradConvolutionLayer>(*polymorphic_downcast(node)); case NodeType::DepthwiseConvolutionLayer: - return detail::validate_depthwise_convolution_layer(*polymorphic_downcast(node)); + return detail::validate_depthwise_convolution_layer(*polymorphic_downcast(node)); case NodeType::DetectionOutputLayer: return detail::validate_detection_output_layer(*polymorphic_downcast(node)); case NodeType::DetectionPostProcessLayer: -- cgit v1.2.1