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

Method GetOutputPort

tensorflow/core/grappler/graph_view.h:134–136  ·  view source on GitHub ↗

Gets the specified output port. Note that the special '-1' port_id can be used to access the controlled nodes (i.e. the nodes connected to node_name through an outgoing control dependency).

Source from the content-addressed store, hash-verified

132 // used to access the controlled nodes (i.e. the nodes connected to node_name
133 // through an outgoing control dependency).
134 OutputPort GetOutputPort(absl::string_view node_name, int port_id) const {
135 return OutputPort(GetNode(node_name), port_id);
136 }
137
138 // Gets the input port(s) in the immediate fanout of an output port.
139 const absl::flat_hash_set<InputPort>& GetFanout(

Callers 4

TEST_FFunction · 0.80
CompareNodeFaninsFunction · 0.80
CheckFanoutRemovedFunction · 0.80

Calls 1

OutputPortClass · 0.85

Tested by 3

TEST_FFunction · 0.64
CompareNodeFaninsFunction · 0.64
CheckFanoutRemovedFunction · 0.64