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/core | |
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/core')
-rw-r--r-- | arm_compute/core/CL/kernels/CLActivationLayerKernel.h | 1 | ||||
-rw-r--r-- | arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arm_compute/core/CL/kernels/CLActivationLayerKernel.h b/arm_compute/core/CL/kernels/CLActivationLayerKernel.h index fbe450c4f2..c6d8f96a87 100644 --- a/arm_compute/core/CL/kernels/CLActivationLayerKernel.h +++ b/arm_compute/core/CL/kernels/CLActivationLayerKernel.h @@ -73,6 +73,7 @@ public: private: ICLTensor *_input; ICLTensor *_output; + bool _run_in_place; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_CLACTIVATIONLAYERKERNEL_H__ */ diff --git a/arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h b/arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h index fee5dd3bae..e9fd564fbd 100644 --- a/arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h +++ b/arm_compute/core/CL/kernels/CLBatchNormalizationLayerKernel.h @@ -96,6 +96,7 @@ private: const ICLTensor *_beta; const ICLTensor *_gamma; float _epsilon; + bool _run_in_place; }; } // namespace arm_compute #endif /*__ARM_COMPUTE_CLBATCHNORMALIZATIONLAYERKERNEL_H__ */ |