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