From 11bfe0e99b3af0edbed1bfd2b89242b3b4e45d72 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Wed, 20 May 2020 15:26:36 +0100 Subject: COMPMID-3491: ReduceMean not properly validating quantizations Change-Id: Ia2563da7271592c4c55dde7fcecaedda6a46a781 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3236 Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/runtime/CL/functions/CLReduceMean.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/runtime/CL/functions/CLReduceMean.cpp') diff --git a/src/runtime/CL/functions/CLReduceMean.cpp b/src/runtime/CL/functions/CLReduceMean.cpp index 3ddaa00d4b..ce447636ec 100644 --- a/src/runtime/CL/functions/CLReduceMean.cpp +++ b/src/runtime/CL/functions/CLReduceMean.cpp @@ -83,6 +83,7 @@ Status validate_config(const ITensorInfo *input, const Coordinates &reduction_ax } const TensorInfo out_info = input->clone()->set_tensor_shape(out_shape); ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_SHAPES(output, &out_info); + ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(input, output); } return Status{}; } -- cgit v1.2.1