diff options
author | Gian Marco Iodice <gianmarco.iodice@arm.com> | 2021-04-26 08:39:28 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-04-27 11:44:17 +0000 |
commit | 40471d12a19088df4af6ad80e5c0437d724dd8fa (patch) | |
tree | d17c921b0285d447d6055c7bd88e9962bf4e8f1d /src/core/gpu/cl/kernels/ClElementwiseKernel.cpp | |
parent | 3eb5d29de823f7dbe0dc6b3a882a7db5950428a3 (diff) | |
download | ComputeLibrary-40471d12a19088df4af6ad80e5c0437d724dd8fa.tar.gz |
Add optimization for global pooling in pooling_layer.cl
- Simplify the implementation when the pooling size has the same spatial
dimensions of the input tensor
- Rework the heuristic for F32/F16
- Add test for validating the global pooling path
- Fix compare_dimensions in validation. The validation fails because we have different
number of dimensions for NCHW and NHWC (e.g. 1,1,2,1(NCHW) -> 2,1,1,1(NHWC)
Change-Id: Iba680cb30bf2a5d0952265a4cc9794f368549ca5
Signed-off-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5510
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/gpu/cl/kernels/ClElementwiseKernel.cpp')
0 files changed, 0 insertions, 0 deletions