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