Clarify that in_nodes and in_edges includes control edges.
authorBenjamin Kramer <kramerb@google.com>
Thu, 15 Mar 2018 19:15:07 +0000 (12:15 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 15 Mar 2018 19:19:25 +0000 (12:19 -0700)
PiperOrigin-RevId: 189225717

tensorflow/core/graph/graph.h

index cbd58b0..f7ca7d0 100644 (file)
@@ -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_; }