aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2021-03-26 10:06:26 +0000
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-03-29 19:47:32 +0000
commit26c5c0fc10cbee1b523af0b27f884719dc50820a (patch)
tree7f254d27d3fb938c200eca7123e70ae48396a352 /src/runtime
parent2ca5b0801d49169f464a5e501e2691f0d346b93b (diff)
downloadComputeLibrary-26c5c0fc10cbee1b523af0b27f884719dc50820a.tar.gz
NEGEMMConvolution and NEGEMMConv2d produce different results
Update validate of NEGEMMConv2d for not supporting dilation different than (1,1) Change-Id: I5c4ad489071bf34e9576c79800c78f8ebd9fa51c Resolves: COMPMID-4313 Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5331 Reviewed-by: Aleksandr Nikolaev <aleksandr.nikolaev@arm.com> Reviewed-by: Diana Bite <diana.bite@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/runtime')
-rw-r--r--src/runtime/NEON/functions/NEGEMMConv2d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/NEON/functions/NEGEMMConv2d.cpp b/src/runtime/NEON/functions/NEGEMMConv2d.cpp
index c802298f98..0f6f93060d 100644
--- a/src/runtime/NEON/functions/NEGEMMConv2d.cpp
+++ b/src/runtime/NEON/functions/NEGEMMConv2d.cpp
@@ -128,6 +128,7 @@ Status NEGEMMConv2d::validate(const ITensorInfo *input, const ITensorInfo *weigh
const TensorShape i_shape = input->tensor_shape();
const TensorShape w_shape = weights->tensor_shape();
ARM_COMPUTE_RETURN_ERROR_ON(w_shape[0] != i_shape[0]);
+ ARM_COMPUTE_RETURN_ERROR_ON(info.dilation != Size2D(1U, 1U));
ARM_COMPUTE_RETURN_ERROR_ON(weights->num_dimensions() > 4);
// Validate biases
if(biases != nullptr)