aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph/backends/ValidateHelpers.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-05-10 15:50:14 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:51:50 +0000
commit54d6fae4dbb4f556cc5ec484c51681ad84c015a7 (patch)
tree044f4ef628066d30c7c50c78d3903dd10b099a9d /arm_compute/graph/backends/ValidateHelpers.h
parent750641dd6aab1e5e62d1875b97b230312bb87959 (diff)
downloadComputeLibrary-54d6fae4dbb4f556cc5ec484c51681ad84c015a7.tar.gz
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 <bsgcomp@arm.com> Reviewed-by: Isabella Gottardi <isabella.gottardi@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/graph/backends/ValidateHelpers.h')
-rw-r--r--arm_compute/graph/backends/ValidateHelpers.h5
1 files changed, 4 insertions, 1 deletions
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))