aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/profiler/internal/tfprof_graph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/profiler/internal/tfprof_graph.cc')
-rw-r--r--tensorflow/core/profiler/internal/tfprof_graph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/profiler/internal/tfprof_graph.cc b/tensorflow/core/profiler/internal/tfprof_graph.cc
index 3766365bf8..db7ae3b397 100644
--- a/tensorflow/core/profiler/internal/tfprof_graph.cc
+++ b/tensorflow/core/profiler/internal/tfprof_graph.cc
@@ -31,7 +31,7 @@ GraphNode* TFGraph::CreateParentNode(const string& name) {
node_defs_.back()->set_name(name);
node_defs_.back()->set_op(kTFGraphParent);
parent_nodes_[name] = std::unique_ptr<TFGraphNode>(
- new TFGraphNode(node_defs_.back().get(), -1));
+ new TFGraphNode(node_defs_.back().get(), -1, nullptr));
nodes_map_[name] =
std::unique_ptr<GraphNode>(new GraphNode(parent_nodes_[name].get()));
return nodes_map_[name].get();