aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/layers/ConvertFp32ToFp16Layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/armnn/layers/ConvertFp32ToFp16Layer.cpp')
-rw-r--r--src/armnn/layers/ConvertFp32ToFp16Layer.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/armnn/layers/ConvertFp32ToFp16Layer.cpp b/src/armnn/layers/ConvertFp32ToFp16Layer.cpp
index 2e1074a1b4..748cde359b 100644
--- a/src/armnn/layers/ConvertFp32ToFp16Layer.cpp
+++ b/src/armnn/layers/ConvertFp32ToFp16Layer.cpp
@@ -47,14 +47,12 @@ void ConvertFp32ToFp16Layer::ValidateTensorShapesFromInputs()
ValidateAndCopyShape(outputShape, inferredShapes[0], m_ShapeInferenceMethod, "LayerName");
}
-ARMNN_NO_DEPRECATE_WARN_BEGIN
-void ConvertFp32ToFp16Layer::Accept(ILayerVisitor& visitor) const
+void ConvertFp32ToFp16Layer::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("ConvertFp32ToFp16Layer should never appear in an input graph");
}
-ARMNN_NO_DEPRECATE_WARN_END
} // namespace armnn