From cdc0149ffe40f14ff4695149d9bdf551f8e07702 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Tue, 9 Jun 2020 18:00:20 +0100 Subject: IVGCVSW-4928 Introduce "ShapeInferenceMethod" Option. Signed-off-by: Teresa Charlin Change-Id: I70ef1a9f3cefa1d4cf9220f0e13131d11e7c6418 --- src/armnn/layers/OutputLayer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/armnn/layers/OutputLayer.cpp') diff --git a/src/armnn/layers/OutputLayer.cpp b/src/armnn/layers/OutputLayer.cpp index f00e0a5259..5ff91880f8 100644 --- a/src/armnn/layers/OutputLayer.cpp +++ b/src/armnn/layers/OutputLayer.cpp @@ -29,8 +29,10 @@ OutputLayer* OutputLayer::Clone(Graph& graph) const return CloneBase(graph, GetBindingId(), GetName()); } -void OutputLayer::ValidateTensorShapesFromInputs() +void OutputLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod) { + IgnoreUnused(shapeInferenceMethod); + // Just validates that the input is connected. ConditionalThrow(GetInputSlot(0).GetConnection() != nullptr, "OutputLayer: Input slot must be connected."); -- cgit v1.2.1