Remove unnecessary a condition. (#2476)
author장지섭/동작제어Lab(SR)/Engineer/삼성전자 <jiseob.jang@samsung.com>
Tue, 28 Aug 2018 02:17:54 +0000 (11:17 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 28 Aug 2018 02:17:54 +0000 (11:17 +0900)
This commit removes unnecessary a condition.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
runtimes/pure_arm_compute/src/execution.cc

index 90a93bc..66b0e77 100644 (file)
@@ -438,7 +438,7 @@ int ANeuralNetworksExecution_setOutput(ANeuralNetworksExecution *execution, int3
   {
     asTensor3DSink(execution, output_type, index, output_shape, buffer, length);
   }
-  else if ((output_shape.rank() == 4) && (output_shape.dim(0) == 1))
+  else if ((output_shape.rank() == 4))
   {
     const auto &operand_shape = operands.at(operand_index).shape().asFeature();