From e1cb33837db740df864fed42b369f281973ee69a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Prasanna=20R/System=20SW=20/SRI-Bangalore/Engineer/?= =?utf8?q?=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 11 Sep 2018 14:00:42 +0530 Subject: [PATCH] Enable FLOOR on pureacl NEON runtime (#2664) This patch enables the ```Floor``` operation on pureACL ```NEON``` runtime. Signed-off-by: prasannar --- runtimes/pure_arm_compute/src/compilation.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/runtimes/pure_arm_compute/src/compilation.cc b/runtimes/pure_arm_compute/src/compilation.cc index 74ca80d..a211778 100644 --- a/runtimes/pure_arm_compute/src/compilation.cc +++ b/runtimes/pure_arm_compute/src/compilation.cc @@ -51,6 +51,7 @@ #include #include #include +#include #include "internal/arm_compute.h" #include "internal/arm_compute/Cast.h" @@ -3265,7 +3266,13 @@ void Planner::visit(const ::internal::tflite::op::Floor::Node &node) builder.append("Floor", std::move(fn)); } else - throw std::runtime_error("Not supported, yet"); + { + auto fn = nnfw::make_unique<::arm_compute::NEFloor>(); + + fn->configure(ifm_alloc, ofm_alloc); + + builder.append("Floor", std::move(fn)); + } }; _builder.addStage(stage); -- 2.7.4