diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-09-03 21:00:23 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-09-10 09:57:52 +0000 |
commit | 1813422f5095983fa802e96cb8e9e0d980de82c7 (patch) | |
tree | a58e9d9f0fc8a2eb98a055f28ff700eb7e0bdd5e /arm_compute/runtime/NEON/functions/NEElementwiseOperations.h | |
parent | 5489394cdfe10afb469171cf521f26f923eeb2e2 (diff) | |
download | ComputeLibrary-1813422f5095983fa802e96cb8e9e0d980de82c7.tar.gz |
COMPMID-3583: Add S32 support to NEElementwiseDivision
Division follows the flooring division approach where for example 5/2=2 while
-5/2=-3
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I65756e0b31fe8d97f743a4c13dc5f96304722f75
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3929
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEElementwiseOperations.h')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEElementwiseOperations.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEElementwiseOperations.h b/arm_compute/runtime/NEON/functions/NEElementwiseOperations.h index 66d8db5d0d..5c755e96ac 100644 --- a/arm_compute/runtime/NEON/functions/NEElementwiseOperations.h +++ b/arm_compute/runtime/NEON/functions/NEElementwiseOperations.h @@ -456,22 +456,22 @@ public: /** Basic function to run @ref NEArithmeticOperationKernel for division * - * @note The tensor data type for the inputs must be F16/F32. - * @note The function performs a squared different operation between two tensors (i.e., out[i] = in1[i] / in2[i]) + * @note The tensor data type for the inputs must be S32/F16/F32. + * @note The function performs a division operation between two tensors (i.e., out[i] = in1[i] / in2[i]) */ class NEElementwiseDivision : public INEOperator { public: /** Initialise the kernel's inputs, output and conversion policy. * - * @param[in, out] input1 First tensor input info. Data types supported: F16/F32. + * @param[in, out] input1 First tensor input info. Data types supported: S32/F16/F32. * @param[in, out] input2 Second tensor input info. Data types supported: Same as @p input1. * @param[out] output Output tensor info. Data types supported: Same as @p input1. */ void configure(const ITensorInfo *input1, const ITensorInfo *input2, ITensorInfo *output); /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticOperationKernel for division * - * @param[in] input1 First tensor input info. Data types supported: F16/F32. + * @param[in] input1 First tensor input info. Data types supported: S32/F16/F32. * @param[in] input2 Second tensor input info. Data types supported: Same as @p input1. * @param[in] output Output tensor info. Data types supported: Same as @p input1. * |