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