From 54d6fae4dbb4f556cc5ec484c51681ad84c015a7 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 10 May 2018 15:50:14 +0100 Subject: COMPMID-959: Remove invalid switch log info on default method. When Default was set as the convolution method a switch convolution info was incorrectly getting reported. Change-Id: I750b28afec4665799362f77ec3f9b66cf2adb0aa Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/130738 Tested-by: Jenkins Reviewed-by: Isabella Gottardi Reviewed-by: Anthony Barbier --- arm_compute/graph/backends/ValidateHelpers.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arm_compute/graph/backends/ValidateHelpers.h') diff --git a/arm_compute/graph/backends/ValidateHelpers.h b/arm_compute/graph/backends/ValidateHelpers.h index 237d4ae2a4..c203e8c885 100644 --- a/arm_compute/graph/backends/ValidateHelpers.h +++ b/arm_compute/graph/backends/ValidateHelpers.h @@ -97,12 +97,15 @@ Status validate_convolution_layer(ConvolutionLayerNode &node) case ConvolutionMethod::WINOGRAD: status = WinogradConvolutionLayer::validate(input, weights, biases, output, conv_info); break; + case ConvolutionMethod::DEFAULT: + status = ConvolutionLayer::validate(input, weights, biases, output, conv_info); + break; default: break; } // If validation fails try the Default approach - if(!bool(status) || (conv_algorithm == ConvolutionMethod::DEFAULT)) + if(!bool(status)) { status = ConvolutionLayer::validate(input, weights, biases, output, conv_info); if(bool(status)) -- cgit v1.2.1