diff options
Diffstat (limited to 'src/armnn/layers/MeanLayer.cpp')
-rw-r--r-- | src/armnn/layers/MeanLayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/armnn/layers/MeanLayer.cpp b/src/armnn/layers/MeanLayer.cpp index da635661e1..a1a3a40d95 100644 --- a/src/armnn/layers/MeanLayer.cpp +++ b/src/armnn/layers/MeanLayer.cpp @@ -38,13 +38,13 @@ MeanLayer* MeanLayer::Clone(Graph& graph) const return std::move(layer); } -void MeanLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferenceMethod) +void MeanLayer::ValidateTensorShapesFromInputs() { VerifyLayerConnections(1, CHECK_LOCATION()); const TensorShape& outputShape = GetOutputSlot(0).GetTensorInfo().GetShape(); - VerifyShapeInferenceType(outputShape, shapeInferenceMethod); + VerifyShapeInferenceType(outputShape, m_ShapeInferenceMethod); const TensorInfo& input = GetInputSlot(0).GetConnection()->GetTensorInfo(); @@ -97,7 +97,7 @@ void MeanLayer::ValidateTensorShapesFromInputs(ShapeInferenceMethod shapeInferen } const TensorShape& inferredShape = TensorShape(outputRank, dimSizes.data()); - ValidateAndCopyShape(outputShape, inferredShape, shapeInferenceMethod, "MeanLayer"); + ValidateAndCopyShape(outputShape, inferredShape, m_ShapeInferenceMethod, "MeanLayer"); } void MeanLayer::Accept(ILayerVisitor& visitor) const |