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