[neurun] Fix enum typo in StageGenerator (#4487)
author김수진/On-Device Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Mon, 25 Feb 2019 09:21:02 +0000 (18:21 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 25 Feb 2019 09:21:02 +0000 (18:21 +0900)
This commit fixes enum typo in `StageGenerator` for `StridedSliceNode`.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
runtimes/neurun/src/backend/acl_cl/StageGenerator.cc

index 3b46253..c19c626 100644 (file)
@@ -902,7 +902,7 @@ void StageGenerator::visit(const model::operation::SoftmaxNode &node)
 void StageGenerator::visit(const model::operation::StridedSliceNode &node)
 {
   const auto output_index{node.getOutputs().at(0)};
-  const auto input_index{node.getInputs().at(model::operation::SoftmaxNode::Input::INPUT)};
+  const auto input_index{node.getInputs().at(model::operation::StridedSliceNode::Input::INPUT)};
   const auto startData_index{node.param().startData_index};
   const auto endData_index{node.param().endData_index};
   const auto stridesData_index{node.param().stridesData_index};