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