| 477 | } |
| 478 | |
| 479 | Node* ArgOp(int index, DataType type, const GraphDefBuilder::Options& opts) { |
| 480 | return ops::SourceOp("_Arg", |
| 481 | opts.WithAttr("T", type).WithAttr("index", index)); |
| 482 | } |
| 483 | |
| 484 | Node* RetOp(int index, ops::NodeOut a, const GraphDefBuilder::Options& opts) { |
| 485 | if (opts.HaveError()) return nullptr; |