From: 장지섭/동작제어Lab(SR)/Engineer/삼성전자 Date: Thu, 6 Sep 2018 05:34:56 +0000 (+0900) Subject: Remove unnecessary CAST_CL from pure_arm_compute (#2617) X-Git-Tag: 0.2~68 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c9261db43719b847e9c3c2bc8024ca14caaa87f;p=platform%2Fcore%2Fml%2Fnnfw.git Remove unnecessary CAST_CL from pure_arm_compute (#2617) This commit removes unnecessary CAST_CL from pure_arm_compute. Signed-off-by: jiseob.jang --- 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);