diff options
Diffstat (limited to 'src/armnn/layers/ConvertFp32ToBf16Layer.cpp')
-rw-r--r-- | src/armnn/layers/ConvertFp32ToBf16Layer.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/armnn/layers/ConvertFp32ToBf16Layer.cpp b/src/armnn/layers/ConvertFp32ToBf16Layer.cpp index 1556deeba3..7c98eea239 100644 --- a/src/armnn/layers/ConvertFp32ToBf16Layer.cpp +++ b/src/armnn/layers/ConvertFp32ToBf16Layer.cpp @@ -50,10 +50,7 @@ void ConvertFp32ToBf16Layer::ValidateTensorShapesFromInputs() void ConvertFp32ToBf16Layer::ExecuteStrategy(IStrategy& strategy) const { - // these conversion layers are only inserted by the - // optimizer and so will never be in an input graph. - IgnoreUnused(strategy); - throw armnn::Exception("ConvertFp32ToBf16Layer should never appear in an input graph"); + strategy.ExecuteStrategy(this, GetParameters(), {}, GetName()); } } // namespace armnn |