diff options
Diffstat (limited to 'src/armnn/layers/ActivationLayer.cpp')
-rw-r--r-- | src/armnn/layers/ActivationLayer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ActivationLayer.cpp b/src/armnn/layers/ActivationLayer.cpp index d310b7efbc..1aed59b781 100644 --- a/src/armnn/layers/ActivationLayer.cpp +++ b/src/armnn/layers/ActivationLayer.cpp @@ -28,8 +28,10 @@ ActivationLayer* ActivationLayer::Clone(Graph& graph) const return CloneBase<ActivationLayer>(graph, m_Param, GetName()); } -void ActivationLayer::ValidateTensorShapesFromInputs() +void ActivationLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod) { + IgnoreUnused(shapeInferenceMethod); + VerifyLayerConnections(1, CHECK_LOCATION()); auto inferredShapes = InferOutputShapes({ GetInputSlot(0).GetConnection()->GetTensorInfo().GetShape() }); |