The number of live edges in the graph. Because edges can be removed from the graph, num_edges() is often smaller than num_edge_ids(). If one needs to create an array of edges indexed by edge ids, num_edge_ids() should be used as the array's size.
| 663 | // edges indexed by edge ids, num_edge_ids() should be used as the |
| 664 | // array's size. |
| 665 | int num_edges() const { return num_edges_; } |
| 666 | |
| 667 | // Serialize the nodes starting at `from_node_id` to a GraphDef. |
| 668 | void ToGraphDefSubRange(GraphDef* graph_def, int from_node_id) const; |
no outgoing calls