From 4b10fef654c5d54b73cc6f09327a88976d8c0fc4 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Wed, 29 Jul 2020 09:36:41 +0100 Subject: IVGCVSW-4712 Fill layer datatype adjustments * Input layer to be int32 instead of same type as output * Enable float16 end to end tests * Neon and Cl layer support check for backend Signed-off-by: Teresa Charlin Change-Id: I6bc889077c8da63eeff66bd45730ce5d8783c419 --- src/backends/neon/NeonLayerSupport.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/backends/neon/NeonLayerSupport.cpp') diff --git a/src/backends/neon/NeonLayerSupport.cpp b/src/backends/neon/NeonLayerSupport.cpp index b848f0c10f..9dc8a01778 100644 --- a/src/backends/neon/NeonLayerSupport.cpp +++ b/src/backends/neon/NeonLayerSupport.cpp @@ -406,12 +406,16 @@ bool NeonLayerSupport::IsElementwiseUnarySupported(const TensorInfo& input, } } -bool NeonLayerSupport::IsFillSupported(const TensorInfo&, - const TensorInfo&, - const FillDescriptor&, - Optional) const +bool NeonLayerSupport::IsFillSupported(const TensorInfo& input, + const TensorInfo& output, + const FillDescriptor& descriptor, + Optional reasonIfUnsupported) const { - return true; + armnn::IgnoreUnused(input); + armnn::IgnoreUnused(output); + armnn::IgnoreUnused(descriptor); + + return IsNeonBackendSupported(reasonIfUnsupported); } bool NeonLayerSupport::IsFloorSupported(const TensorInfo& input, -- cgit v1.2.1