diff options
author | Pablo Tello <pablo.tello@arm.com> | 2019-09-13 10:20:25 +0100 |
---|---|---|
committer | Pablo Marquez <pablo.tello@arm.com> | 2019-09-20 09:27:12 +0000 |
commit | c9564cb3850b6675cef663d7cc0722567b55cc25 (patch) | |
tree | 1ab16f4e24240fed839967c6e1b7a34597adce18 /arm_compute/core/NEON/kernels/NECopyKernel.h | |
parent | 7b9d7ca0d207d9f4d4b96222940eb96c2e10a0f1 (diff) | |
download | ComputeLibrary-c9564cb3850b6675cef663d7cc0722567b55cc25.tar.gz |
COMPMID-2257: Implement NEGenerateProposals.
Change-Id: I8d751f8b09f842a214c305a4530a71d82f16db8f
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1943
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/kernels/NECopyKernel.h')
-rw-r--r-- | arm_compute/core/NEON/kernels/NECopyKernel.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/arm_compute/core/NEON/kernels/NECopyKernel.h b/arm_compute/core/NEON/kernels/NECopyKernel.h index c6df9bafae..ddf1bb41fb 100644 --- a/arm_compute/core/NEON/kernels/NECopyKernel.h +++ b/arm_compute/core/NEON/kernels/NECopyKernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018 ARM Limited. + * Copyright (c) 2018-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -51,18 +51,20 @@ public: NECopyKernel &operator=(NECopyKernel &&) = default; /** Initialize the kernel's input, output. * - * @param[in] input Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. - * @param[out] output Destination tensor. Data types supported: same as @p input. + * @param[in] input Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. + * @param[out] output Destination tensor. Data types supported: same as @p input. + * @param[in] padding (Optional) Padding to be applied to the input tensor */ - void configure(const ITensor *input, ITensor *output); + void configure(const ITensor *input, ITensor *output, const PaddingList &padding = PaddingList()); /** Static function to check if given info will lead to a valid configuration of @ref NECopyKernel * - * @param[in] input Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. - * @param[in] output Destination tensor. Data types supported: same as @p input. + * @param[in] input Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. + * @param[in] output Destination tensor. Data types supported: same as @p input. + * @param[in] padding (Optional) Padding to be applied to the input tensor * * @return a status */ - static Status validate(const ITensorInfo *input, const ITensorInfo *output); + static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PaddingList &padding = PaddingList()); // Inherited methods overridden: void run(const Window &window, const ThreadInfo &info) override; @@ -70,6 +72,7 @@ public: private: const ITensor *_input; ITensor *_output; + PaddingList _padding; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_NECOPYKERNEL_H__ */ |