aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/InputLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/InputLayer.cpp')
-rw-r--r--src/armnn/layers/InputLayer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/InputLayer.cpp b/src/armnn/layers/InputLayer.cpp
index 84cc43c667..42ce153346 100644
--- a/src/armnn/layers/InputLayer.cpp
+++ b/src/armnn/layers/InputLayer.cpp
@@ -28,8 +28,10 @@ InputLayer* InputLayer::Clone(Graph& graph) const
return CloneBase<InputLayer>(graph, GetBindingId(), GetName());
}
-void InputLayer::ValidateTensorShapesFromInputs()
+void InputLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod)
{
+ IgnoreUnused(shapeInferenceMethod);
+
//The input layer should already have it's inputs set during graph building phase in the driver/parser.
ConditionalThrow<LayerValidationException>(GetOutputSlot(0).IsTensorInfoSet(),
"InputLayer should already have the TensorInfo set.");