MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / RetOp

Function RetOp

tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc:484–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484Node* 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
492Status Encapsulate(GraphDef* graphdef, FunctionDefLibrary* library,
493 const std::vector<string>& encapsulated_functions) {

Callers

nothing calls this directly

Calls 6

HaveErrorMethod · 0.80
FinalizeBuilderMethod · 0.80
GetNameForOpMethod · 0.45
op_registryMethod · 0.45
AttrMethod · 0.45
InputMethod · 0.45

Tested by

no test coverage detected