| 56 | } // end namespace |
| 57 | |
| 58 | int OpOutputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id) { |
| 59 | return OpPortIdToArgId(node, op.output_arg(), port_id); |
| 60 | } |
| 61 | |
| 62 | int OpInputPortIdToArgId(const NodeDef& node, const OpDef& op, int port_id) { |
| 63 | return OpPortIdToArgId(node, op.input_arg(), port_id); |