Home | History | Annotate | Download | only in grappler

Lines Matching refs:port

31   struct Port {
35 bool operator==(const Port& other) const {
39 struct InputPort : public Port {};
40 struct OutputPort : public Port {};
43 std::size_t operator()(const Port& port) const {
44 return reinterpret_cast<std::size_t>(port.node) + port.port_id;
51 // Get the specified input port. Note that the special '-1' port_id can be
55 // Get the specified output port. Note that the special '-1' port_id can be
60 // Get the input (resp. output) port(s) in the immediate fanout (resp. fanin)
61 // of an output (resp. input) port.
63 const OutputPort& port) const;
65 const InputPort& port) const;
68 const OutputPort GetRegularFanin(const InputPort& port) const;