From 236bfe7033a313ab98ff436d85f38a58b0738ed1 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Thu, 23 Nov 2017 15:59:55 +0000 Subject: COMPIMID-553: MobileNet use case. Change-Id: I1181abbd5785065f3d57e91844376a4b110938a9 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/110701 Tested-by: BSG Visual Compute Jenkins server to access repositories on http://mpd-gerrit.cambridge.arm.com Reviewed-by: Anthony Barbier --- src/graph/operations/NESimpleOperations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graph/operations/NESimpleOperations.cpp') diff --git a/src/graph/operations/NESimpleOperations.cpp b/src/graph/operations/NESimpleOperations.cpp index c77aeeca11..f234341cec 100644 --- a/src/graph/operations/NESimpleOperations.cpp +++ b/src/graph/operations/NESimpleOperations.cpp @@ -138,7 +138,7 @@ REGISTER_SIMPLE_OPERATION(NEDepthConvertLayerOperation, NEON, OperationType::Dep /* DepthwiseConvolutionLayer Layer */ REGISTER_SIMPLE_OPERATION(NEDepthwiseConvolutionOperation, NEON, OperationType::DepthwiseConvolutionLayer) { - ARM_COMPUTE_ERROR_ON(ctx.num_inputs() != 2 || ctx.num_inputs() != 3); + ARM_COMPUTE_ERROR_ON(ctx.num_inputs() != 2 && ctx.num_inputs() != 3); ARM_COMPUTE_ERROR_ON(ctx.num_outputs() != 1); ARM_COMPUTE_ERROR_ON(dynamic_cast(ctx.input(0)) == nullptr); ARM_COMPUTE_ERROR_ON(dynamic_cast(ctx.output(0)) == nullptr); -- cgit v1.2.1