[neurun] Fix build break (#3507)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Wed, 7 Nov 2018 08:01:26 +0000 (17:01 +0900)
committer이춘석/동작제어Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Wed, 7 Nov 2018 08:01:26 +0000 (17:01 +0900)
Caused by #3426 and #3436 collision.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtimes/neurun/src/codegen/ConstantInitializer.cc

index e653120..1bc19f8 100644 (file)
@@ -93,13 +93,13 @@ void ConstantInitializer::operator()()
           auto operation_index = _graph.operands().at(index).getUses().list().front();
           auto operation = &_graph.operations().at(operation_index);
           auto fc_operation =
-              dynamic_cast<const neurun::graph::operation::FullyConnected::Node *>(operation);
+              dynamic_cast<const neurun::graph::operation::FullyConnectedNode *>(operation);
 
           if (fc_operation == nullptr)
             break;
 
-          auto ifm_index =
-              fc_operation->getInputs().at(neurun::graph::operation::FullyConnected::Input::INPUT);
+          auto ifm_index = fc_operation->getInputs().at(
+              neurun::graph::operation::FullyConnectedNode::Input::INPUT);
           const auto &ifm = _graph.operands().at(ifm_index);
           const auto ifm_shape = ifm.shape().asFeature();
           const auto num_output = shape.dim(0);