From d7f2908961c002c041ef6422945d840aefd0658a Mon Sep 17 00:00:00 2001 From: Les Bell Date: Thu, 30 May 2019 09:08:51 +0100 Subject: fix reference IsConvolution2dSupported error messages Signed-off-by: Les Bell Change-Id: Id454ac91ae1c0216f5ecfa1c3cde9430691f51f4 --- src/backends/reference/RefLayerSupport.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/backends/reference/RefLayerSupport.cpp b/src/backends/reference/RefLayerSupport.cpp index e4bc9bf584..9f23e05994 100644 --- a/src/backends/reference/RefLayerSupport.cpp +++ b/src/backends/reference/RefLayerSupport.cpp @@ -415,19 +415,19 @@ bool RefLayerSupport::IsConvolution2dSupported(const TensorInfo& input, }; supported &= CheckSupportRule(TypeAnyOf(input, supportedTypes), reasonIfUnsupported, - "Reference addition: input is not a supported type."); + "Reference convolution2d: input is not a supported type."); supported &= CheckSupportRule(TypeAnyOf(output, supportedTypes), reasonIfUnsupported, - "Reference addition: output is not a supported type."); + "Reference convolution2d: output is not a supported type."); supported &= CheckSupportRule(TypeAnyOf(weights, supportedTypes), reasonIfUnsupported, - "Reference addition: weights is not a supported type."); + "Reference convolution2d: weights is not a supported type."); supported &= CheckSupportRule(TypesAreEqual(input, output), reasonIfUnsupported, - "Reference activation: input and output types mismatched."); + "Reference convolution2d: input and output types mismatched."); supported &= CheckSupportRule(TypesAreEqual(input, weights), reasonIfUnsupported, - "Reference activation: input and weights types mismatched."); + "Reference convolution2d: input and weights types mismatched."); if (biases.has_value()) { @@ -436,7 +436,7 @@ bool RefLayerSupport::IsConvolution2dSupported(const TensorInfo& input, DataType::Signed32 }; supported &= CheckSupportRule(TypeAnyOf(biases.value(), biasesSupportedTypes), reasonIfUnsupported, - "Reference addition: biases is not a supported type."); + "Reference convolution2d: biases is not a supported type."); } ignore_unused(descriptor); -- cgit v1.2.1