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

Method GetInputPort

tensorflow/core/grappler/graph_view.h:127–129  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

125 // used to access the controlling nodes (i.e. the nodes connected to node_name
126 // through an incoming control dependency).
127 InputPort GetInputPort(absl::string_view node_name, int port_id) const {
128 return InputPort(GetNode(node_name), port_id);
129 }
130
131 // Gets the specified output port. Note that the special '-1' port_id can be
132 // used to access the controlled nodes (i.e. the nodes connected to node_name

Callers 2

TEST_FFunction · 0.80
GetInputNodeFunction · 0.80

Calls 1

InputPortClass · 0.85

Tested by 1

TEST_FFunction · 0.64