MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / num_edges

Method num_edges

tensorflow/core/graph/graph.h:665–665  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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;

Callers 3

DumpGraphFunction · 0.80
VerifyGraphStatsMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 2

VerifyGraphStatsMethod · 0.64
TEST_FFunction · 0.64