diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2018-02-13 15:24:04 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:47:18 +0000 |
commit | dde9ec96f471127e5b6d8dfaeffce024b6326f1a (patch) | |
tree | 3aa88c0dec625feeb9d17da825b87398cac6cc68 /arm_compute/runtime | |
parent | e3fba0afa892c66379da1e3d3843f2155a1fb29a (diff) | |
download | ComputeLibrary-dde9ec96f471127e5b6d8dfaeffce024b6326f1a.tar.gz |
COMPMID-909: Enabling in-place computation for batchnormalization and activation at graph level
Change-Id: I84d4a212629b21794451ab5fb5c5b187b5e28f98
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/120127
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime')
4 files changed, 6 insertions, 6 deletions
diff --git a/arm_compute/runtime/CL/functions/CLActivationLayer.h b/arm_compute/runtime/CL/functions/CLActivationLayer.h index 5b99abc5fb..8cb41d225a 100644 --- a/arm_compute/runtime/CL/functions/CLActivationLayer.h +++ b/arm_compute/runtime/CL/functions/CLActivationLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -41,7 +41,7 @@ class CLActivationLayer : public ICLSimpleFunction public: /** Set the input and output tensor. * - * @note If the output tensor is a nullptr, the activation function will be performed in-place + * @note If the output tensor is a nullptr or is equal to the input, 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/QS16/F16/F32. diff --git a/arm_compute/runtime/CL/functions/CLBatchNormalizationLayer.h b/arm_compute/runtime/CL/functions/CLBatchNormalizationLayer.h index 3d5145a697..39f567d6a3 100644 --- a/arm_compute/runtime/CL/functions/CLBatchNormalizationLayer.h +++ b/arm_compute/runtime/CL/functions/CLBatchNormalizationLayer.h @@ -46,7 +46,7 @@ public: CLBatchNormalizationLayer(); /** Set the input and output tensors. * - * @note If the output tensor is a nullptr, the batch normalization function will be performed in-place + * @note If the output tensor is a nullptr or is equal to the input, the batch normalization 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. * 3 lower dimensions represent a single input with dimensions [width, height, FM]. diff --git a/arm_compute/runtime/NEON/functions/NEActivationLayer.h b/arm_compute/runtime/NEON/functions/NEActivationLayer.h index 007c53a0a8..31714216fb 100644 --- a/arm_compute/runtime/NEON/functions/NEActivationLayer.h +++ b/arm_compute/runtime/NEON/functions/NEActivationLayer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -41,7 +41,7 @@ class NEActivationLayer : public INESimpleFunction public: /** Set the input and output tensor. * - * @note If the output tensor is a nullptr, the activation function will be performed in-place + * @note If the output tensor is a nullptr or is equal to the input, 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/QS16/F32. diff --git a/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h b/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h index 242144c987..85c62663ab 100644 --- a/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h +++ b/arm_compute/runtime/NEON/functions/NEBatchNormalizationLayer.h @@ -46,7 +46,7 @@ public: NEBatchNormalizationLayer(); /** Set the input and output tensors. * - * @note If the output tensor is a nullptr, the batch normalization function will be performed in-place + * @note If the output tensor is a nullptr or is equal to the input, the batch normalization 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. * 3 lower dimensions represent a single input with dimensions [width, height, FM]. |