aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels/CLPoolingLayerKernel.cpp
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2017-11-29 15:09:39 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:42:17 +0000
commitb8ab99788c3310800880346b1a935361e9974fa9 (patch)
tree6b23d6b8701d941e24bbc1548c21914dc12bc968 /src/core/CL/kernels/CLPoolingLayerKernel.cpp
parente5384fffa1ab274ee805d694d2275b93e76d734f (diff)
downloadComputeLibrary-b8ab99788c3310800880346b1a935361e9974fa9.tar.gz
COMPMID-617 Add validation window to CLSoftmaxLayer
Change-Id: Iaa99b8950c148e39333fa663db5f862a982f3765 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/111130 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLPoolingLayerKernel.cpp')
-rw-r--r--src/core/CL/kernels/CLPoolingLayerKernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/kernels/CLPoolingLayerKernel.cpp b/src/core/CL/kernels/CLPoolingLayerKernel.cpp
index 7fd2689c43..b0942e55b1 100644
--- a/src/core/CL/kernels/CLPoolingLayerKernel.cpp
+++ b/src/core/CL/kernels/CLPoolingLayerKernel.cpp
@@ -52,7 +52,7 @@ void auto_init(const ITensorInfo *input, ITensorInfo *output, unsigned int poole
output_shape.set(0, pooled_w);
output_shape.set(1, pooled_h);
- auto_init_if_empty(*output, output_shape, 1, input->data_type(), input->fixed_point_position(), input->quantization_info());
+ auto_init_if_empty(*output, input->clone()->set_tensor_shape(output_shape));
}
Error validate_arguments(const ITensorInfo *input, const ITensorInfo *output, const PoolingLayerInfo &pool_info)