From: 오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Mon, 5 Nov 2018 07:43:03 +0000 (+0900) Subject: Fix build failure on neuurun (#3468) X-Git-Tag: 0.3~474 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0262b08c8ac909191f38b84f3d406a41d58be196;p=platform%2Fcore%2Fml%2Fnnfw.git Fix build failure on neuurun (#3468) Fix build failure on neurun by operator structure change Signed-off-by: Hyeongseok Oh --- diff --git a/runtimes/neurun/src/middleend/SubTensorAnalyzer.cc b/runtimes/neurun/src/middleend/SubTensorAnalyzer.cc index 79f841b..44400d8 100644 --- a/runtimes/neurun/src/middleend/SubTensorAnalyzer.cc +++ b/runtimes/neurun/src/middleend/SubTensorAnalyzer.cc @@ -30,22 +30,22 @@ namespace neurun namespace middleend { -void SubTensorAnalyzer::visit(const graph::operation::Conv2D::Implicit::Node &) +void SubTensorAnalyzer::visit(const graph::operation::Conv2DNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::MaxPool2D::Implicit::Node &) +void SubTensorAnalyzer::visit(const graph::operation::MaxPool2DNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::AvgPool2D::Implicit::Node &) +void SubTensorAnalyzer::visit(const graph::operation::AvgPool2DNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::Concat::Node &node) +void SubTensorAnalyzer::visit(const graph::operation::ConcatNode &node) { // If operator is concat (or other operators related with subsumption), fill subsumption info // TODO: if one tensor is subset of many parents or model input @@ -92,27 +92,27 @@ void SubTensorAnalyzer::visit(const graph::operation::Concat::Node &node) } } -void SubTensorAnalyzer::visit(const graph::operation::FullyConnected::Node &) +void SubTensorAnalyzer::visit(const graph::operation::FullyConnectedNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::Reshape::Node &) +void SubTensorAnalyzer::visit(const graph::operation::ReshapeNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::Softmax::Node &) +void SubTensorAnalyzer::visit(const graph::operation::SoftmaxNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::NOP::Node &) +void SubTensorAnalyzer::visit(const graph::operation::NOPNode &) { // DO NOTHING } -void SubTensorAnalyzer::visit(const graph::operation::Permute::Node &) +void SubTensorAnalyzer::visit(const graph::operation::PermuteNode &) { // DO NOTHING } diff --git a/runtimes/neurun/src/middleend/SubTensorAnalyzer.h b/runtimes/neurun/src/middleend/SubTensorAnalyzer.h index abe5ce9..f5a4435 100644 --- a/runtimes/neurun/src/middleend/SubTensorAnalyzer.h +++ b/runtimes/neurun/src/middleend/SubTensorAnalyzer.h @@ -54,15 +54,15 @@ public: SubTensorAnalyzer(neurun::graph::operand::Set &ctx) : _ctx{ctx} {} public: - virtual void visit(const graph::operation::Conv2D::Implicit::Node &) override; - virtual void visit(const graph::operation::MaxPool2D::Implicit::Node &) override; - virtual void visit(const graph::operation::AvgPool2D::Implicit::Node &) override; - virtual void visit(const graph::operation::Concat::Node &) override; - virtual void visit(const graph::operation::Reshape::Node &) override; - virtual void visit(const graph::operation::FullyConnected::Node &) override; - virtual void visit(const graph::operation::Softmax::Node &) override; - virtual void visit(const graph::operation::NOP::Node &) override; - virtual void visit(const graph::operation::Permute::Node &) override; + virtual void visit(const graph::operation::Conv2DNode &) override; + virtual void visit(const graph::operation::MaxPool2DNode &) override; + virtual void visit(const graph::operation::AvgPool2DNode &) override; + virtual void visit(const graph::operation::ConcatNode &) override; + virtual void visit(const graph::operation::ReshapeNode &) override; + virtual void visit(const graph::operation::FullyConnectedNode &) override; + virtual void visit(const graph::operation::SoftmaxNode &) override; + virtual void visit(const graph::operation::NOPNode &) override; + virtual void visit(const graph::operation::PermuteNode &) override; virtual void visit(const graph::operation::AddNode &) override; private: