diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2020-07-29 09:36:41 +0100 |
---|---|---|
committer | KeithARM <keith.davis@arm.com> | 2020-07-31 11:56:31 +0000 |
commit | 4b10fef654c5d54b73cc6f09327a88976d8c0fc4 (patch) | |
tree | 4a504eacb860bf1ef3feed4b5acbb79225e480fd /src/backends/cl/ClLayerSupport.cpp | |
parent | e8ac13308b84b2ee9bc930ac8d27e657300e462d (diff) | |
download | armnn-4b10fef654c5d54b73cc6f09327a88976d8c0fc4.tar.gz |
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 <teresa.charlinreyes@arm.com>
Change-Id: I6bc889077c8da63eeff66bd45730ce5d8783c419
Diffstat (limited to 'src/backends/cl/ClLayerSupport.cpp')
-rw-r--r-- | src/backends/cl/ClLayerSupport.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/backends/cl/ClLayerSupport.cpp b/src/backends/cl/ClLayerSupport.cpp index 74b5aadb03..1af5c91fc5 100644 --- a/src/backends/cl/ClLayerSupport.cpp +++ b/src/backends/cl/ClLayerSupport.cpp @@ -430,12 +430,16 @@ bool ClLayerSupport::IsElementwiseUnarySupported(const TensorInfo& input, } } -bool ClLayerSupport::IsFillSupported(const TensorInfo&, - const TensorInfo&, - const FillDescriptor&, - Optional<std::string&>) const +bool ClLayerSupport::IsFillSupported(const TensorInfo& input, + const TensorInfo& output, + const FillDescriptor& descriptor, + Optional<std::string&> reasonIfUnsupported) const { - return true; + armnn::IgnoreUnused(input); + armnn::IgnoreUnused(output); + armnn::IgnoreUnused(descriptor); + + return IsClBackendSupported(reasonIfUnsupported); } bool ClLayerSupport::IsFloorSupported(const TensorInfo& input, |