aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ActivationLayer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ActivationLayer.hpp')
-rw-r--r--src/armnn/layers/ActivationLayer.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ActivationLayer.hpp b/src/armnn/layers/ActivationLayer.hpp
index 46845e2918..3f0d520c3c 100644
--- a/src/armnn/layers/ActivationLayer.hpp
+++ b/src/armnn/layers/ActivationLayer.hpp
@@ -23,7 +23,9 @@ public:
ActivationLayer* Clone(Graph& graph) const override;
/// Check if the input tensor shape(s) will lead to a valid configuration of @ref ActivationLayer.
- 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;