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

Function NestedLoopBody

tensorflow/core/graph/control_flow_test.cc:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41Status NestedLoopBody(const Scope& scope, const std::vector<Output>& inputs,
42 std::vector<Output>* outputs) {
43 return ops::BuildWhileLoop(scope.NewSubScope("inner"), inputs,
44 LessThanTenCond, AddOneBody, "inner_loop",
45 outputs);
46}
47
48TEST(ValidateControlFlowTest, InputsFromDifferentFrames) {
49 Scope scope = Scope::NewRootScope().ExitOnError();

Callers

nothing calls this directly

Calls 2

BuildWhileLoopFunction · 0.85
NewSubScopeMethod · 0.80

Tested by

no test coverage detected