projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0640e
)
Clarify that in_nodes and in_edges includes control edges.
author
Benjamin Kramer
<kramerb@google.com>
Thu, 15 Mar 2018 19:15:07 +0000
(12:15 -0700)
committer
TensorFlower Gardener
<gardener@tensorflow.org>
Thu, 15 Mar 2018 19:19:25 +0000
(12:19 -0700)
PiperOrigin-RevId:
189225717
tensorflow/core/graph/graph.h
patch
|
blob
|
history
diff --git
a/tensorflow/core/graph/graph.h
b/tensorflow/core/graph/graph.h
index
cbd58b0
..
f7ca7d0
100644
(file)
--- a/
tensorflow/core/graph/graph.h
+++ b/
tensorflow/core/graph/graph.h
@@
-124,7
+124,8
@@
class Node {
// Inputs requested by the NodeDef. For the actual inputs, use in_edges.
const protobuf::RepeatedPtrField<string>& requested_inputs() const;
- // Get the neighboring nodes via edges either in or out of this node.
+ // Get the neighboring nodes via edges either in or out of this node. This
+ // includes control edges.
gtl::iterator_range<NeighborIter> in_nodes() const;
gtl::iterator_range<NeighborIter> out_nodes() const;
const EdgeSet& in_edges() const { return in_edges_; }