From 9bf85316f5b3ce9c71e2ba7e20f8dff503153ee4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Shubham=20Gupta/SNAP=20/SRI-Bangalore/Engineer/=EC=82=BC?= =?utf8?q?=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 3 Dec 2018 09:41:33 +0530 Subject: [PATCH] Insert LogicalOr case in Model.cc (#3801) This patch will add case for LogicalOr in Model.cc Signed-off-by: shubham --- runtimes/pure_arm_compute/src/model.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runtimes/pure_arm_compute/src/model.cc b/runtimes/pure_arm_compute/src/model.cc index c2a091a..82b4d7c 100644 --- a/runtimes/pure_arm_compute/src/model.cc +++ b/runtimes/pure_arm_compute/src/model.cc @@ -798,6 +798,18 @@ int ANeuralNetworksModel_addOperationEx(ANeuralNetworksModel *model, break; } + case ANEURALNETWORKS_LOGICAL_OR_EX: + { + using internal::tflite::op::LogicalOr::Param; + using internal::tflite::op::LogicalOr::Node; + + // Add 'operations' + auto &operations = model->deref().operations(); + + operations.emplace_back(Param{inputCount, inputs, outputCount, outputs}); + + break; + } case ANEURALNETWORKS_RSQRT_EX: { using internal::tflite::op::RSQRT::Param; -- 2.7.4