aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLes Bell <les.bell@arm.com>2019-05-30 09:08:51 +0100
committerLes Bell <les.bell@arm.com>2019-05-30 08:15:41 +0000
commitd7f2908961c002c041ef6422945d840aefd0658a (patch)
tree62e6788ff51d7b90ae5a96400a75998028d46c9d
parent0f072ab1bf503d17b874db89a9f45f123f7c2fcc (diff)
downloadarmnn-d7f2908961c002c041ef6422945d840aefd0658a.tar.gz
fix reference IsConvolution2dSupported error messages
Signed-off-by: Les Bell <les.bell@arm.com> Change-Id: Id454ac91ae1c0216f5ecfa1c3cde9430691f51f4
-rw-r--r--src/backends/reference/RefLayerSupport.cpp12
1 files 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);