aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/functions/CLReduceMean.h
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2019-12-11 13:04:34 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-12-11 18:24:53 +0000
commita0a4ba1285b47fb61295977bc43af34f7f692264 (patch)
tree5668852fd57f543dc805f814200d2b0087f2493a /arm_compute/runtime/CL/functions/CLReduceMean.h
parentaf486c11dd122a3bb9af8a835b46e4ea94b90eb3 (diff)
downloadComputeLibrary-a0a4ba1285b47fb61295977bc43af34f7f692264.tar.gz
COMPMID-2855: CLReduceMean throws error for invalid configs
Change-Id: Icc198a6db7dc79230972e12f226fa6fa1d9de6cb Signed-off-by: Pablo Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/2452 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 'arm_compute/runtime/CL/functions/CLReduceMean.h')
-rw-r--r--arm_compute/runtime/CL/functions/CLReduceMean.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/functions/CLReduceMean.h b/arm_compute/runtime/CL/functions/CLReduceMean.h
index 35501f5229..20105a5242 100644
--- a/arm_compute/runtime/CL/functions/CLReduceMean.h
+++ b/arm_compute/runtime/CL/functions/CLReduceMean.h
@@ -71,7 +71,7 @@ private:
std::vector<CLReductionOperation> _reduction_kernels;
std::vector<CLTensor> _reduced_outs;
CLReshapeLayer _reshape;
- unsigned int _reduction_ops;
+ int _reduction_ops;
bool _keep_dims;
};
} // namespace arm_compute