From cebcd8855266f3dedb579864d68c1cd41cc67b21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Devansh=20Bansal/System=20SW=20/SRI-Bangalore/Professional/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 18 Sep 2018 16:28:58 +0530 Subject: [PATCH] Enabling Logistics Op on PureACL NEON runtime (#2715) This patch enables Logistics Op to run on NEON runtime PureACL. Signed-off-by: b.devansh --- runtimes/pure_arm_compute/src/compilation.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/runtimes/pure_arm_compute/src/compilation.cc b/runtimes/pure_arm_compute/src/compilation.cc index 2488332..ade2809 100644 --- a/runtimes/pure_arm_compute/src/compilation.cc +++ b/runtimes/pure_arm_compute/src/compilation.cc @@ -2988,7 +2988,13 @@ void Planner::visit(const ::internal::tflite::op::Logistic::Node &node) builder.append("Logistic", std::move(fn)); } else - throw std::runtime_error("Not supported, yet"); + { + auto fn = nnfw::make_unique<::arm_compute::NEActivationLayer>(); + + fn->configure(ifm_alloc, ofm_alloc, act_info); + + builder.append("Logistic", std::move(fn)); + } }; _builder.addStage(stage); -- 2.7.4