aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ArgMinMaxLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ArgMinMaxLayer.cpp')
-rw-r--r--src/armnn/layers/ArgMinMaxLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ArgMinMaxLayer.cpp b/src/armnn/layers/ArgMinMaxLayer.cpp
index a9907871be..288192f98d 100644
--- a/src/armnn/layers/ArgMinMaxLayer.cpp
+++ b/src/armnn/layers/ArgMinMaxLayer.cpp
@@ -69,8 +69,10 @@ std::vector<TensorShape> ArgMinMaxLayer::InferOutputShapes(const std::vector<Ten
return std::vector<TensorShape>({ outputShape });
}
-void ArgMinMaxLayer::ValidateTensorShapesFromInputs()
+void ArgMinMaxLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod)
{
+ IgnoreUnused(shapeInferenceMethod);
+
VerifyLayerConnections(1, CHECK_LOCATION());
auto inferredShapes = InferOutputShapes({ GetInputSlot(0).GetConnection()->GetTensorInfo().GetShape() });