| 482 | } |
| 483 | |
| 484 | Node* RetOp(int index, ops::NodeOut a, const GraphDefBuilder::Options& opts) { |
| 485 | if (opts.HaveError()) return nullptr; |
| 486 | NodeBuilder node_builder(opts.GetNameForOp("Retval"), "_Retval", |
| 487 | opts.op_registry()); |
| 488 | node_builder.Input(std::move(a)).Attr("index", index); |
| 489 | return opts.FinalizeBuilder(&node_builder); |
| 490 | } |
| 491 | |
| 492 | Status Encapsulate(GraphDef* graphdef, FunctionDefLibrary* library, |
| 493 | const std::vector<string>& encapsulated_functions) { |
nothing calls this directly
no test coverage detected