| 49 | } |
| 50 | |
| 51 | bool IsTensorIdControlling(const TensorId& tensor_id) { |
| 52 | return tensor_id.index() == Graph::kControlSlot; |
| 53 | } |
| 54 | |
| 55 | bool IsOutputPortControlling(const MutableGraphView::OutputPort& port) { |
| 56 | return port.port_id == Graph::kControlSlot; |
no test coverage detected