| 130 | } |
| 131 | |
| 132 | Status GetSwitchValue(const Node& switch_node, OutputTensor* val) { |
| 133 | const Edge* val_edge; |
| 134 | TF_RETURN_IF_ERROR(switch_node.input_edge(0, &val_edge)); |
| 135 | *val = OutputTensor(val_edge->src(), val_edge->src_output()); |
| 136 | return Status::OK(); |
| 137 | } |
| 138 | |
| 139 | bool StateMap::OutputTensorLess::operator()(const OutputTensor& lhs, |
| 140 | const OutputTensor& rhs) const { |
nothing calls this directly
no test coverage detected