aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/kernels
diff options
context:
space:
mode:
authorPablo Tello <pablo.tello@arm.com>2019-09-04 13:38:14 +0100
committerPablo Marquez <pablo.tello@arm.com>2019-09-09 12:14:27 +0000
commitffd31defdb84d4ca1e24e9248d628c0075767302 (patch)
tree984eb186912004ac4aaf30ed7f56b762219be6ac /src/core/CL/kernels
parent12833d063259cb7809a97a4262f821efdc40554f (diff)
downloadComputeLibrary-ffd31defdb84d4ca1e24e9248d628c0075767302.tar.gz
COMPMID-2246: NEBoundingBoxTransform support QASYMM16
Change-Id: I0704f71159a3caec4705779cab2ef38aeb33aaca Signed-off-by: Pablo Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/1864 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Diffstat (limited to 'src/core/CL/kernels')
-rw-r--r--src/core/CL/kernels/CLBoundingBoxTransformKernel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/CL/kernels/CLBoundingBoxTransformKernel.cpp b/src/core/CL/kernels/CLBoundingBoxTransformKernel.cpp
index 08e5cc6b3b..8fc6f82bd6 100644
--- a/src/core/CL/kernels/CLBoundingBoxTransformKernel.cpp
+++ b/src/core/CL/kernels/CLBoundingBoxTransformKernel.cpp
@@ -59,6 +59,10 @@ Status validate_arguments(const ITensorInfo *boxes, const ITensorInfo *pred_boxe
ARM_COMPUTE_RETURN_ERROR_ON(boxes_qinfo.offset != 0);
ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_NOT_IN(deltas, DataType::QASYMM8);
}
+ else
+ {
+ ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES(boxes, deltas);
+ }
if(pred_boxes->total_size() > 0)
{