From 5c9261db43719b847e9c3c2bc8024ca14caaa87f Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9E=A5=EC=A7=80=EC=84=AD/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Thu, 6 Sep 2018 14:34:56 +0900 Subject: [PATCH] Remove unnecessary CAST_CL from pure_arm_compute (#2617) This commit removes unnecessary CAST_CL from pure_arm_compute. Signed-off-by: jiseob.jang --- runtimes/pure_arm_compute/src/compilation.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtimes/pure_arm_compute/src/compilation.cc b/runtimes/pure_arm_compute/src/compilation.cc index 0e21d8e..a48462a 100644 --- a/runtimes/pure_arm_compute/src/compilation.cc +++ b/runtimes/pure_arm_compute/src/compilation.cc @@ -551,7 +551,7 @@ void Planner::visit(const ::internal::tflite::op::Add::Node &node) auto l = nnfw::make_unique(); - l->configure(CAST_CL(lhs_alloc), CAST_CL(rhs_alloc), CAST_CL(ofm_alloc)); + l->configure(lhs_alloc, rhs_alloc, ofm_alloc); fn = std::move(l); } @@ -657,7 +657,7 @@ void Planner::visit(const ::internal::tflite::op::Sub::Node &node) builder.append("Sub", std::move(fn)); } - ActivationBuilder{builder}.append(param.activation, CAST_CL(ofm_alloc)); + ActivationBuilder{builder}.append(param.activation, ofm_alloc); }; _builder.addStage(stage); -- 2.7.4