diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2017-06-20 09:07:21 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:14:20 +0100 |
commit | b30dcc5ab8eb2bd37f0ab742af1ec45113d54296 (patch) | |
tree | dfaac2b07af3ffb838d3ed559bacf8f37da3b592 /arm_compute/runtime/NEON | |
parent | 9ea47f6967ce1c9e4a8bf4174613efdec78a5f44 (diff) | |
download | ComputeLibrary-b30dcc5ab8eb2bd37f0ab742af1ec45113d54296.tar.gz |
COMPMID-345 - In-place computation for Activation Layer
Change-Id: I25ebfccc3d3e758cc8164e0b33805c0bb303891a
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/78226
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/runtime/NEON')
-rw-r--r-- | arm_compute/runtime/NEON/functions/NEActivationLayer.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEActivationLayer.h b/arm_compute/runtime/NEON/functions/NEActivationLayer.h index 35366e16fb..b1a211553d 100644 --- a/arm_compute/runtime/NEON/functions/NEActivationLayer.h +++ b/arm_compute/runtime/NEON/functions/NEActivationLayer.h @@ -41,11 +41,14 @@ class NEActivationLayer : public INESimpleFunction public: /** Set the input and output tensor. * - * @param[in] input Source tensor. Data type supported: QS8/F32. - * @param[out] output Destination tensor. Data type supported: same as @p input - * @param[in] activation_info Activation layer parameters. + * @note If the output tensor is a nullptr, the activation function will be performed in-place + * + * @param[in, out] input Source tensor. In case of @p output tensor = nullptr, this tensor will store the result + * of the activation function. Data types supported: QS8/F32. + * @param[out] output Destination tensor. Data type supported: same as @p input + * @param[in] activation_info Activation layer parameters. */ - void configure(const ITensor *input, ITensor *output, ActivationLayerInfo activation_info); + void configure(ITensor *input, ITensor *output, ActivationLayerInfo activation_info); }; } #endif /* __ARM_COMPUTE_NEACTIVATIONLAYER_H__ */ |