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

Function Retval

tensorflow/core/graph/testlib.cc:518–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518Node* Retval(Graph* g, int64 index, Node* in) {
519 Node* ret;
520 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "_Retval")
521 .Input(in)
522 .Attr("index", index)
523 .Finalize(g, &ret));
524 return ret;
525}
526
527void ToGraphDef(Graph* g, GraphDef* gdef) { g->ToGraphDef(gdef); }
528

Callers 2

TEST_FFunction · 0.50
BuildTreeFunction · 0.50

Calls 5

NodeBuilderClass · 0.70
FinalizeMethod · 0.45
AttrMethod · 0.45
InputMethod · 0.45
NewNameMethod · 0.45

Tested by

no test coverage detected