diff options
Diffstat (limited to 'src/armnn/layers/SliceLayer.hpp')
-rw-r--r-- | src/armnn/layers/SliceLayer.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/SliceLayer.hpp b/src/armnn/layers/SliceLayer.hpp index abfe472194..3d9a7feee5 100644 --- a/src/armnn/layers/SliceLayer.hpp +++ b/src/armnn/layers/SliceLayer.hpp @@ -25,7 +25,9 @@ public: /// Check if the input tensor shape(s) /// will lead to a valid configuration of @ref SliceLayer. - void ValidateTensorShapesFromInputs() override; + /// @param [in] shapeInferenceMethod Indicates if output shape shall be overwritten or just validated. + void ValidateTensorShapesFromInputs( + ShapeInferenceMethod shapeInferenceMethod = ShapeInferenceMethod::ValidateOnly) override; /// By default returns inputShapes if the number of inputs are equal to number of outputs, /// otherwise infers the output shapes from given input shapes and layer properties. |