aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ElementwiseUnaryLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ElementwiseUnaryLayer.cpp')
-rw-r--r--src/armnn/layers/ElementwiseUnaryLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ElementwiseUnaryLayer.cpp b/src/armnn/layers/ElementwiseUnaryLayer.cpp
index c91057cc9f..0908f391fb 100644
--- a/src/armnn/layers/ElementwiseUnaryLayer.cpp
+++ b/src/armnn/layers/ElementwiseUnaryLayer.cpp
@@ -40,8 +40,10 @@ std::vector<TensorShape> ElementwiseUnaryLayer::InferOutputShapes(const std::vec
return std::vector<TensorShape>({ input });
}
-void ElementwiseUnaryLayer::ValidateTensorShapesFromInputs()
+void ElementwiseUnaryLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod)
{
+ IgnoreUnused(shapeInferenceMethod);
+
VerifyLayerConnections(1, CHECK_LOCATION());
std::vector<TensorShape> inferredShapes = InferOutputShapes({