From: Prasanna R/System SW /SRI-Bangalore/Engineer/삼성전자 Date: Tue, 11 Sep 2018 08:30:42 +0000 (+0530) Subject: Enable FLOOR on pureacl NEON runtime (#2664) X-Git-Tag: 0.2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1cb33837db740df864fed42b369f281973ee69a;p=platform%2Fcore%2Fml%2Fnnfw.git Enable FLOOR on pureacl NEON runtime (#2664) This patch enables the ```Floor``` operation on pureACL ```NEON``` runtime. Signed-off-by: prasannar --- 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);