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>
diff --git a/arm_compute/graph/backends/ValidateHelpers.h b/arm_compute/graph/backends/ValidateHelpers.h
index 237d4ae..c203e8c 100644
--- a/arm_compute/graph/backends/ValidateHelpers.h
+++ b/arm_compute/graph/backends/ValidateHelpers.h
@@ -97,12 +97,15 @@
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))