| 292 | } |
| 293 | |
| 294 | Node* Delay(Graph* g, Node* input, Microseconds delay_micros) { |
| 295 | Node* ret; |
| 296 | TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Delay") |
| 297 | .Input(input) |
| 298 | .Attr("micros", delay_micros.value()) |
| 299 | .Finalize(g, &ret)); |
| 300 | return ret; |
| 301 | } |
| 302 | |
| 303 | Node* NoOp(Graph* g, const std::vector<Node*>& control_inputs) { |
| 304 | Node* ret; |