diff options
author | Alessandro Navone <alessandro.navone@arm.com> | 2021-02-02 11:39:05 +0000 |
---|---|---|
committer | Michele Di Giorgio <michele.digiorgio@arm.com> | 2021-02-15 10:46:37 +0000 |
commit | 6413e493b15b04d27304c0e52ccf2ecd2ec9c302 (patch) | |
tree | ea992a31dfcb4c4629f38fb43b88d829a1057b46 /src | |
parent | 8958167c8d609566a40c9e618158ebcbdcd3e3bb (diff) | |
download | ComputeLibrary-6413e493b15b04d27304c0e52ccf2ecd2ec9c302.tar.gz |
Add DIV to Elementwise layer support at graph level
COMPUTE-12654
Signed-off-by: Alessandro Navone <alessandro.navone@arm.com>
Change-Id: I9e13e24fb3033888a86874528a72425d87b342ec
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5030
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/graph/backends/CL/CLFunctionsFactory.cpp | 3 | ||||
-rw-r--r-- | src/graph/backends/CL/CLNodeValidator.cpp | 3 | ||||
-rw-r--r-- | src/graph/backends/NEON/NEFunctionFactory.cpp | 3 | ||||
-rw-r--r-- | src/graph/backends/NEON/NENodeValidator.cpp | 1 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/graph/backends/CL/CLFunctionsFactory.cpp b/src/graph/backends/CL/CLFunctionsFactory.cpp index 5c98ce3b85..a3e7261721 100644 --- a/src/graph/backends/CL/CLFunctionsFactory.cpp +++ b/src/graph/backends/CL/CLFunctionsFactory.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -66,6 +66,7 @@ struct CLEltwiseFunctions using Subtraction = CLArithmeticSubtraction; using Multiplication = CLPixelWiseMultiplication; using Maximum = CLElementwiseMax; + using Division = CLArithmeticDivision; }; /** Collection of CL unary element-wise functions */ diff --git a/src/graph/backends/CL/CLNodeValidator.cpp b/src/graph/backends/CL/CLNodeValidator.cpp index 33e8fb4947..1136086375 100644 --- a/src/graph/backends/CL/CLNodeValidator.cpp +++ b/src/graph/backends/CL/CLNodeValidator.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -56,6 +56,7 @@ struct CLEltwiseLayerFunctions using ArithmeticSubtraction = CLArithmeticSubtraction; using PixelWiseMultiplication = CLPixelWiseMultiplication; using ElementwiseMax = CLElementwiseMax; + using ArithmeticDivision = CLArithmeticDivision; }; /** Collection of CL unary element-wise functions */ diff --git a/src/graph/backends/NEON/NEFunctionFactory.cpp b/src/graph/backends/NEON/NEFunctionFactory.cpp index 6a96f0a5b9..83954b6307 100644 --- a/src/graph/backends/NEON/NEFunctionFactory.cpp +++ b/src/graph/backends/NEON/NEFunctionFactory.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020 Arm Limited. + * Copyright (c) 2018-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -70,6 +70,7 @@ struct NEEltwiseFunctions using Subtraction = NEArithmeticSubtraction; using Multiplication = NEPixelWiseMultiplication; using Maximum = NEElementwiseMax; + using Division = NEElementwiseDivision; }; /** Collection of NEON unary element-wise functions */ diff --git a/src/graph/backends/NEON/NENodeValidator.cpp b/src/graph/backends/NEON/NENodeValidator.cpp index 75bba4c43c..3fb79dbfc0 100644 --- a/src/graph/backends/NEON/NENodeValidator.cpp +++ b/src/graph/backends/NEON/NENodeValidator.cpp @@ -57,6 +57,7 @@ struct NEEltwiseLayerFunctions using ArithmeticSubtraction = NEArithmeticSubtraction; using PixelWiseMultiplication = NEPixelWiseMultiplication; using ElementwiseMax = NEElementwiseMax; + using ArithmeticDivision = NEElementwiseDivision; }; /** Collection of NEON unary element-wise functions */ |