diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-05-10 15:50:14 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:51:50 +0000 |
commit | 54d6fae4dbb4f556cc5ec484c51681ad84c015a7 (patch) | |
tree | 044f4ef628066d30c7c50c78d3903dd10b099a9d /arm_compute/graph | |
parent | 750641dd6aab1e5e62d1875b97b230312bb87959 (diff) | |
download | ComputeLibrary-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')
-rw-r--r-- | arm_compute/graph/backends/ValidateHelpers.h | 5 |
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)) |