aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ComparisonLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ComparisonLayer.cpp')
-rw-r--r--src/armnn/layers/ComparisonLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ComparisonLayer.cpp b/src/armnn/layers/ComparisonLayer.cpp
index 91080457bf..483d2e1c72 100644
--- a/src/armnn/layers/ComparisonLayer.cpp
+++ b/src/armnn/layers/ComparisonLayer.cpp
@@ -55,8 +55,10 @@ std::vector<TensorShape> ComparisonLayer::InferOutputShapes(const std::vector<Te
return std::vector<TensorShape>({ TensorShape(numDims, dims.data()) });
}
-void ComparisonLayer::ValidateTensorShapesFromInputs()
+void ComparisonLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod)
{
+ IgnoreUnused(shapeInferenceMethod);
+
VerifyLayerConnections(2, CHECK_LOCATION());
std::vector<TensorShape> inferredShapes = InferOutputShapes({