diff options
Diffstat (limited to 'src/armnn/layers/ElementwiseBaseLayer.cpp')
-rw-r--r-- | src/armnn/layers/ElementwiseBaseLayer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/armnn/layers/ElementwiseBaseLayer.cpp b/src/armnn/layers/ElementwiseBaseLayer.cpp index 2c1e8717f4..44bbd0b839 100644 --- a/src/armnn/layers/ElementwiseBaseLayer.cpp +++ b/src/armnn/layers/ElementwiseBaseLayer.cpp @@ -47,8 +47,10 @@ std::vector<TensorShape> ElementwiseBaseLayer::InferOutputShapes(const std::vect return std::vector<TensorShape>({ TensorShape(numDims, dims.data()) }); } -void ElementwiseBaseLayer::ValidateTensorShapesFromInputs() +void ElementwiseBaseLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod) { + IgnoreUnused(shapeInferenceMethod); + VerifyLayerConnections(2, CHECK_LOCATION()); auto inferredShapes = InferOutputShapes({ |