From 0e4556ce45cb857ac44354df73f8228475f3ad3c Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 20 Dec 2019 10:29:12 +0000 Subject: COMPMID-2819: Retain data layout in NESpaceToDepth and NEDepthToSpace Retain layout from configuration to execution as following configuration might alter tensor meta-data in client code. Signed-off-by: Georgios Pinitas Change-Id: Ifdbb285809956b966ea534ab3ab231911a307cc0 Reviewed-on: https://review.mlplatform.org/c/2512 Reviewed-by: Pablo Marquez Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h') diff --git a/arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h b/arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h index 3129ea9fb9..0b645887ee 100644 --- a/arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h +++ b/arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h @@ -75,6 +75,7 @@ private: const ITensor *_input; /**< Source tensor */ ITensor *_output; /**< Destination tensor */ int32_t _block_shape; /**< Block shape */ + DataLayout _data_layout; /**< Data layout of the operation */ }; } // namespace arm_compute #endif /* ARM_COMPUTE_NEDEPTHTOSPACELAYERKERNEL_H */ -- cgit v1.2.1