Remove unused shape variables from L2Pool (#3329)
authorShubham Gupta/System SW /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Thu, 25 Oct 2018 00:46:21 +0000 (06:16 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 25 Oct 2018 00:46:21 +0000 (09:46 +0900)
This patch will remove the unused shape variable from L2Pool.

Signed-off-by: shubham <shub98.gupta@samsung.com>
runtimes/pure_arm_compute/src/compilation.cc

index e28d879..7206815 100644 (file)
@@ -4179,9 +4179,6 @@ void Planner::visit(const ::internal::tflite::op::L2Pool2D::Explicit::Node &node
 
   const ::internal::tflite::operand::Index activation_index{node.param().activation_index};
 
-  const auto ofm_shape = _ctx.at(ofm_index).shape().asFeature();
-  const auto ifm_shape = _ctx.at(ifm_index).shape().asFeature();
-
   const int32_t kh = _ctx.at(kh_index).asScalar<int32_t>();
   const int32_t kw = _ctx.at(kw_index).asScalar<int32_t>();