diff options
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h | 20 | ||||
-rw-r--r-- | arm_compute/runtime/CL/functions/CLPixelWiseMultiplication.h | 20 |
2 files changed, 36 insertions, 4 deletions
diff --git a/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h b/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h index eacdb44c09..2a54a4bc48 100644 --- a/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h +++ b/arm_compute/core/CL/kernels/CLPixelWiseMultiplicationKernel.h @@ -50,7 +50,15 @@ public: * * @param[in] input1 An input tensor. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/QSYMM16/F16/F32. * @param[in] input2 An input tensor. Data types supported: same as @p input1. - * @param[out] output The output tensor, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8. + * @param[out] output The output tensor, Data types supported: + * - U8, only if both input are U8 + * - QASYMM8, only if both inputs are QASYMM8 + * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED + * - S16 + * - QSYMM16, only if both inputs are QSYMM16 + * - S32, only if both inputs are QSYMM16 + * - F16 + * - F32 * @param[in] scale Scale to apply after multiplication. * Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15. * @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate @@ -63,7 +71,15 @@ public: * * @param[in] input1 An input tensor info. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/QSYMM16/F16/F32. * @param[in] input2 An input tensor info. Data types supported: same as @p input1. - * @param[in] output The output tensor info, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8. + * @param[in] output The output tensor info, Data types supported: + * - U8, only if both input are U8 + * - QASYMM8, only if both inputs are QASYMM8 + * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED + * - S16 + * - QSYMM16, only if both inputs are QSYMM16 + * - S32, only if both inputs are QSYMM16 + * - F16 + * - F32 * @param[in] scale Scale to apply after multiplication. * Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15. * @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate diff --git a/arm_compute/runtime/CL/functions/CLPixelWiseMultiplication.h b/arm_compute/runtime/CL/functions/CLPixelWiseMultiplication.h index a5ab829c83..47bb2bf4db 100644 --- a/arm_compute/runtime/CL/functions/CLPixelWiseMultiplication.h +++ b/arm_compute/runtime/CL/functions/CLPixelWiseMultiplication.h @@ -42,7 +42,15 @@ public: * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. * @param[in, out] input2 An input tensor. Data types supported: same as @p input1. * The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. - * @param[out] output The output tensor, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8. + * @param[out] output The output tensor. Data types supported: + * - U8, only if both input are U8 + * - QASYMM8, only if both inputs are QASYMM8 + * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED + * - S16 + * - QSYMM16, only if both inputs are QSYMM16 + * - S32, only if both inputs are QSYMM16 + * - F16 + * - F32 * @param[in] scale Scale to apply after multiplication. * Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15. * @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate @@ -55,7 +63,15 @@ public: * * @param[in] input1 An input tensor info. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/QSYMM16/F16/F32. * @param[in] input2 An input tensor info. Data types supported: same as @p input1. - * @param[in] output The output tensor info, Data types supported: same as @p input1. Note: U8 requires both inputs to be U8. + * @param[in] output The output tensor info. Data types supported: + * - U8, only if both input are U8 + * - QASYMM8, only if both inputs are QASYMM8 + * - QASYMM8_SIGNED, only if both inputs are QASYMM8_SIGNED + * - S16 + * - QSYMM16, only if both inputs are QSYMM16 + * - S32, only if both inputs are QSYMM16 + * - F16 + * - F32 * @param[in] scale Scale to apply after multiplication. * Scale must be positive and its value must be either 1/255 or 1/2^n where n is between 0 and 15. * @param[in] overflow_policy Overflow policy. Supported overflow policies: Wrap, Saturate |