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

Method FindNodeId

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

Returns the node associated with an id, or nullptr if no node with that id (the node with that id was removed and the id has not yet been re-used). *this owns the returned instance. REQUIRES: 0 <= id < num_node_ids().

Source from the content-addressed store, hash-verified

696 // not yet been re-used). *this owns the returned instance.
697 // REQUIRES: 0 <= id < num_node_ids().
698 Node* FindNodeId(int id) const { return nodes_[id]; }
699
700 // Returns one more than the maximum id assigned to any edge.
701 int num_edge_ids() const { return edges_.size(); }

Callers 15

AddStrictInputSemanticsFunction · 0.45
InlineFunctionCallsFunction · 0.45
InitializeMethod · 0.45
get_node_by_nameMethod · 0.45
GetNodeByNameMethod · 0.45
TEST_FFunction · 0.45
RunMethod · 0.45
TEST_FFunction · 0.45
AddControlFlowFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 7

GetNodeByNameMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36