From: 장지섭/동작제어Lab(SR)/Engineer/삼성전자 Date: Fri, 31 Aug 2018 06:54:50 +0000 (+0900) Subject: Add sourcing tensor more than 5 dimensions (#2529) X-Git-Tag: 0.2~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6df2d5dd957c26d70212564bc166404b43aabbf4;p=platform%2Fcore%2Fml%2Fnnfw.git Add sourcing tensor more than 5 dimensions (#2529) This commit adds sourcing tensor more than 5 dimensions. Signed-off-by: jiseob.jang --- diff --git a/runtimes/pure_arm_compute/src/execution.cc b/runtimes/pure_arm_compute/src/execution.cc index b1c287b..4100969 100644 --- a/runtimes/pure_arm_compute/src/execution.cc +++ b/runtimes/pure_arm_compute/src/execution.cc @@ -362,7 +362,10 @@ int ANeuralNetworksExecution_setInput(ANeuralNetworksExecution *execution, int32 } else { - throw std::runtime_error{"Not supported, yet"}; + // NOTE TensorSource is much slower than specialized Source(s) + const auto &operand_shape = shape.asTensor(); + + asTensorSource(execution, input_type, index, operand_shape, buffer, length); } return ANEURALNETWORKS_NO_ERROR;