diff options
Diffstat (limited to 'src/armnn/layers/ElementwiseBaseLayer.hpp')
-rw-r--r-- | src/armnn/layers/ElementwiseBaseLayer.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ElementwiseBaseLayer.hpp b/src/armnn/layers/ElementwiseBaseLayer.hpp index 4f151b7f48..1f9888a821 100644 --- a/src/armnn/layers/ElementwiseBaseLayer.hpp +++ b/src/armnn/layers/ElementwiseBaseLayer.hpp @@ -18,7 +18,9 @@ class ElementwiseBaseLayer : public Layer public: /// Check if the input tensor shape(s) /// will lead to a valid configuration of the element wise operation. - 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. |