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/SpaceToBatchNdLayer.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/armnn/layers/SpaceToBatchNdLayer.hpp') diff --git a/src/armnn/layers/SpaceToBatchNdLayer.hpp b/src/armnn/layers/SpaceToBatchNdLayer.hpp index cb8162f7cd..707017b5a8 100644 --- a/src/armnn/layers/SpaceToBatchNdLayer.hpp +++ b/src/armnn/layers/SpaceToBatchNdLayer.hpp @@ -32,7 +32,9 @@ public: /// Check if the input tensor shape(s) /// will lead to a valid configuration of @ref SpaceToBatchNdLayer. - void ValidateTensorShapesFromInputs() override; + /// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validated. + void ValidateTensorShapesFromInputs( + ShapeInferenceMethod shapeInferenceMethod = ShapeInferenceMethod::ValidateOnly) override; void Accept(ILayerVisitor& visitor) const override; -- cgit v1.2.1