diff options
Diffstat (limited to 'arm_compute/runtime')
-rw-r--r-- | arm_compute/runtime/CL/functions/CLArithmeticSubtraction.h | 6 | ||||
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/arm_compute/runtime/CL/functions/CLArithmeticSubtraction.h b/arm_compute/runtime/CL/functions/CLArithmeticSubtraction.h index b9690806d7..2940044ed9 100644 --- a/arm_compute/runtime/CL/functions/CLArithmeticSubtraction.h +++ b/arm_compute/runtime/CL/functions/CLArithmeticSubtraction.h @@ -36,6 +36,10 @@ class ICLTensor; * * @note The tensor data type for the inputs must be U8/S16/F16/F32. * @note The function performs an arithmetic subtraction between two tensors. + * + * This function calls the following kernels: + * -# @ref CLFillBorderKernel (In case of broadcasting, in the input being broadcasted) + * -# @ref CLArithmeticSubtractionKernel */ class CLArithmeticSubtraction : public ICLSimpleFunction { @@ -47,7 +51,7 @@ public: * @param[out] output Output tensor. Data types supported: U8 (Only if both inputs are U8), S16/F16/F32. * @param[in] policy Policy to use to handle overflow. */ - void configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, ConvertPolicy policy); + void configure(ICLTensor *input1, ICLTensor *input2, ICLTensor *output, ConvertPolicy policy); /** Static function to check if given info will lead to a valid configuration of @ref CLArithmeticSubtraction * * @param[in] input1 First tensor input info. Data types supported: U8/S16/F16/F32. diff --git a/arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h b/arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h index 9b460c1031..541756cd2c 100644 --- a/arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h +++ b/arm_compute/runtime/NEON/functions/NEArithmeticSubtraction.h @@ -31,7 +31,15 @@ namespace arm_compute { class ITensor; -/** Basic function to run @ref NEArithmeticSubtractionKernel */ +/** Basic function to run @ref NEArithmeticSubtractionKernel + * + * @note The tensor data type for the inputs must be U8/S16/F16/F32. + * @note The function performs an arithmetic subtraction between two tensors. + * + * This function calls the following kernels: + * -# @ref NEFillBorderKernel (In case of broadcasting, in the input being broadcasted) + * -# @ref NEArithmeticSubtractionKernel + */ class NEArithmeticSubtraction : public INESimpleFunction { public: @@ -42,7 +50,7 @@ public: * @param[out] output Output tensor. Data types supported: U8/S16/F16/F32 * @param[in] policy Policy to use to handle overflow. */ - void configure(const ITensor *input1, const ITensor *input2, ITensor *output, ConvertPolicy policy); + void configure(ITensor *input1, ITensor *input2, ITensor *output, ConvertPolicy policy); /** Static function to check if given info will lead to a valid configuration of @ref NEArithmeticSubtraction * * @param[in] input1 First tensor input. Data types supported: U8/S16/F16/F32 |