diff options
author | Geoffrey Irving <geoffreyi@google.com> | 2017-05-16 17:01:31 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-05-16 17:05:15 -0700 |
commit | 43db5c623f748b6f9704e9e9be5a5a11fa2a4c1a (patch) | |
tree | 985844ec8f6653f36e38592f9700dcaba66d94f2 /tensorflow/core/graph/graph.cc | |
parent | 7ab0c2eff12ea79648f6717dae8558d6669e5c27 (diff) |
Automated g4 rollback of changelist 156244933
PiperOrigin-RevId: 156251356
Diffstat (limited to 'tensorflow/core/graph/graph.cc')
-rw-r--r-- | tensorflow/core/graph/graph.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/core/graph/graph.cc b/tensorflow/core/graph/graph.cc index 9066de5668..d765959ca0 100644 --- a/tensorflow/core/graph/graph.cc +++ b/tensorflow/core/graph/graph.cc @@ -78,7 +78,7 @@ string Node::DebugString() const { } else { strings::StrAppend(&ret, " op device:"); strings::StrAppend(&ret, "{", assigned_device_name_, "}"); - strings::StrAppend(&ret, " def:{", SummarizeNode(*this), "}}"); + strings::StrAppend(&ret, " def:{", SummarizeNodeDef(def()), "}}"); } return ret; } @@ -474,7 +474,7 @@ void Graph::ToGraphDefSubRange(GraphDef* graph_def, int from_node_id) const { for (size_t i = 0; i < inputs.size(); ++i) { const Edge* edge = inputs[i]; if (edge == nullptr) { - node_def->add_input(node->requested_inputs()[i]); + node_def->add_input(node->def().input(i)); } else { const Node* src = edge->src(); if (!src->IsOp()) continue; |