diff options
author | Pablo Tello <pablo.tello@arm.com> | 2019-12-19 15:27:34 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-12-19 16:27:36 +0000 |
commit | 62bdd8c4d605d75214ac3ca674cd647911ea9bbc (patch) | |
tree | 386ca25b7e20e52f45e8d72bbf5fa07c67ebb4f0 /arm_compute | |
parent | 14d9d986c63eb8f07acec2f075383f9f4843ae1c (diff) | |
download | ComputeLibrary-62bdd8c4d605d75214ac3ca674cd647911ea9bbc.tar.gz |
COMPMID-2819: Retain configuration step data layout to avoid side-effects.
Configuring functions serially can lead to side-effects in tensor attributes.
One of them is the data layout changing in case functions share same IO tensors.
Retain DataLayout used during configuration.
Change-Id: Ic8594300dc428282f4f9b9196f0d64842b6c1868
Signed-off-by: Pablo Tello <pablo.tello@arm.com>
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/VisualCompute/ComputeLibrary/+/217277
Tested-by: bsgcomp <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Comments-Addressed: bsgcomp <bsgcomp@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2505
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r-- | arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h b/arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h index 87f8c67635..9fce338161 100644 --- a/arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h +++ b/arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h @@ -75,6 +75,7 @@ private: const ITensor *_input; /**< Source tensor */ ITensor *_output; /**< Destination tensor */ int32_t _block_shape; /**< Block shape */ + DataLayout _data_layout; }; } // namespace arm_compute #endif /* ARM_COMPUTE_NESPACETODEPTHLAYERKERNEL_H */ |