From 4d2eec0436f75d526c2ec25623ad73c8d1ee9ac3 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Mon, 30 May 2022 11:08:52 +0100 Subject: IVGCVSW-6981 Remove deprecated code 22.05 [Post Release] Signed-off-by: Nikhil Raj Change-Id: I9ccaefbe28ea572e9e2b4a2168574804667f7460 --- src/armnn/layers/ConvertFp16ToFp32Layer.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/armnn/layers/ConvertFp16ToFp32Layer.cpp') diff --git a/src/armnn/layers/ConvertFp16ToFp32Layer.cpp b/src/armnn/layers/ConvertFp16ToFp32Layer.cpp index cc3c8b18e1..423721dc8c 100644 --- a/src/armnn/layers/ConvertFp16ToFp32Layer.cpp +++ b/src/armnn/layers/ConvertFp16ToFp32Layer.cpp @@ -47,14 +47,12 @@ void ConvertFp16ToFp32Layer::ValidateTensorShapesFromInputs() ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "ConvertFp16ToFp32Layer"); } -ARMNN_NO_DEPRECATE_WARN_BEGIN -void ConvertFp16ToFp32Layer::Accept(ILayerVisitor& visitor) const +void ConvertFp16ToFp32Layer::ExecuteStrategy(IStrategy& strategy) const { // these conversion layers are only inserted by the // optimizer and so will never be in an input graph. - IgnoreUnused(visitor); + IgnoreUnused(strategy); throw armnn::Exception("ConvertFp16ToFp32Layer should never appear in an input graph"); } -ARMNN_NO_DEPRECATE_WARN_END } // namespace armnn -- cgit v1.2.1