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