From e2220551b7a64b929650ba9a60529c31e70c13c5 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 20 Jul 2018 13:23:44 +0100 Subject: COMPMID-1367: Enable NHWC in graph examples Change-Id: Iabc54a3a1bdcd46a9a921cda39c7c85fef672b72 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/141449 Reviewed-by: Giorgio Arena Reviewed-by: Anthony Barbier Tested-by: Jenkins --- src/graph/backends/NEON/NEFunctionFactory.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/graph/backends/NEON/NEFunctionFactory.cpp') diff --git a/src/graph/backends/NEON/NEFunctionFactory.cpp b/src/graph/backends/NEON/NEFunctionFactory.cpp index 3b7417da3f..6c912a02f1 100644 --- a/src/graph/backends/NEON/NEFunctionFactory.cpp +++ b/src/graph/backends/NEON/NEFunctionFactory.cpp @@ -102,7 +102,7 @@ std::unique_ptr create_convolution_layer mm = get_memory_manager(ctx, Target::NEON); std::unique_ptr func; std::string func_name; - if(conv_algorithm == ConvolutionMethod::DIRECT) + if(conv_algorithm == ConvolutionMethod::Direct) { std::tie(func, func_name) = create_named_memory_managed_function( std::string("DirectConvolutionLayer"), mm, input, weights, biases, output, conv_info); @@ -112,7 +112,7 @@ std::unique_ptr create_convolution_layer( std::string("GEMMConvolutionLayer"), mm, input, weights, biases, output, conv_info); } - else if(conv_algorithm == ConvolutionMethod::WINOGRAD) + else if(conv_algorithm == ConvolutionMethod::Winograd) { std::tie(func, func_name) = create_named_memory_managed_function( std::string("WinogradConvolutionLayer"), mm, input, weights, biases, output, conv_info); @@ -183,8 +183,8 @@ std::unique_ptr NEFunctionFactory::create(INode *node, GraphContext & return detail::create_convolution_layer(*polymorphic_downcast(node), ctx); case NodeType::DeconvolutionLayer: return detail::create_deconvolution_layer(*polymorphic_downcast(node), ctx); - case NodeType::DepthConcatenateLayer: - return detail::create_depth_concatenate_layer(*polymorphic_downcast(node)); + case NodeType::ConcatenateLayer: + return detail::create_concatenate_layer(*polymorphic_downcast(node)); case NodeType::DepthwiseConvolutionLayer: return detail::create_depthwise_convolution_layer(*polymorphic_downcast(node)); case NodeType::EltwiseLayer: -- cgit v1.2.1