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

Function RecursiveF2

tensorflow/core/common_runtime/placer_test.cc:2981–3002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2979}
2980
2981FunctionDef RecursiveF2() {
2982 return FDH::Create(
2983 // Name
2984 "RecursiveF2",
2985 // Args
2986 {"x: resource"},
2987 // Return values
2988 {"y: resource"},
2989 // Attr def
2990 {},
2991 // Nodes
2992 {
2993 {{"out"},
2994 "PartitionedCall",
2995 {"x"},
2996 {{"Tin", DataTypeSlice{DT_RESOURCE}},
2997 {"Tout", DataTypeSlice{DT_RESOURCE}},
2998 {"f", FDH::FunctionRef("RecursiveF1", {})}}},
2999 },
3000 // Output mapping
3001 {{"y", "out:output:0"}});
3002}
3003
3004TEST_F(NestedPlacerTest, IndirectRecursion) {
3005 GraphDef graph = GDef(

Callers 1

TEST_FFunction · 0.85

Calls 1

CreateFunction · 0.50

Tested by

no test coverage detected