aboutsummaryrefslogtreecommitdiff
path: root/reference_model/src/graph_node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'reference_model/src/graph_node.cc')
-rw-r--r--reference_model/src/graph_node.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/reference_model/src/graph_node.cc b/reference_model/src/graph_node.cc
index b57b9dd..f765700 100644
--- a/reference_model/src/graph_node.cc
+++ b/reference_model/src/graph_node.cc
@@ -19,10 +19,11 @@ using namespace TosaReference;
using namespace Eigen;
using namespace tosa;
-GraphNode::GraphNode(const Op& nodeType_, const uint64_t id_)
+GraphNode::GraphNode(SubgraphTraverser* parent_sgt_, const Op& nodeType_, const uint64_t id_)
{
- nodeType = nodeType_;
- nodeId = id_;
+ parent_sgt = parent_sgt_;
+ nodeType = nodeType_;
+ nodeId = id_;
inputs.clear();
outputs.clear();
inputNames.clear();