MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / node_num

Method node_num

oneflow/core/graph/graph.h:149–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 NodeType* SoleSinkNode() const;
148 NodeType* SoleNode() const;
149 size_t node_num() const { return nodes_.size(); }
150 size_t edge_num() const { return edges_.size(); }
151 virtual const char* TypeName() const { return ""; }
152

Callers 6

GetMinConsumerOrderFunction · 0.80
CompileMethod · 0.80
IsInplaceAllowedFunction · 0.80
CreateOpNode2TaskIdsMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected