commit | 0a1090a193139129b2433688ade53fb2689169a7 | [log] [tgz] |
---|---|---|
author | Isabella Gottardi <isabella.gottardi@arm.com> | Thu Feb 14 18:07:36 2019 +0000 |
committer | Georgios Pinitas <georgios.pinitas@arm.com> | Fri Feb 15 16:39:08 2019 +0000 |
tree | fec0077befa3df90196ffd37a54f7a05f18e3d8b | |
parent | e5bf4c55eff186a8871206fbc1b02391fd8d75b2 [diff] [blame] |
COMPMID-1710: Add check on different input/output quantization info were not supported Change-Id: Id64dab5e2de341316238506d4fb3ab82b992753d Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com> Reviewed-on: https://review.mlplatform.org/697 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/src/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsKernel.cpp b/src/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsKernel.cpp index 608181d..6b6438a 100644 --- a/src/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsKernel.cpp +++ b/src/core/CL/kernels/CLDepthwiseConvolutionLayerReshapeWeightsKernel.cpp
@@ -58,6 +58,7 @@ auto reshaped_weights_shape = arm_compute::misc::shape_calculator::compute_reshaped_depthwise_weights_shape(*input, info); ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(input, output); ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS(output->tensor_shape(), reshaped_weights_shape); + ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_QUANTIZATION_INFO(input, output); } return Status{};