diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2017-11-29 15:09:39 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:42:17 +0000 |
commit | b8ab99788c3310800880346b1a935361e9974fa9 (patch) | |
tree | 6b23d6b8701d941e24bbc1548c21914dc12bc968 /src/core/CL/kernels/CLPoolingLayerKernel.cpp | |
parent | e5384fffa1ab274ee805d694d2275b93e76d734f (diff) | |
download | ComputeLibrary-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.cpp | 2 |
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) |