| 39 | } |
| 40 | |
| 41 | Status 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 | |
| 48 | TEST(ValidateControlFlowTest, InputsFromDifferentFrames) { |
| 49 | Scope scope = Scope::NewRootScope().ExitOnError(); |
nothing calls this directly
no test coverage detected