(i, _)
| 289 | return i < 10 |
| 290 | |
| 291 | def body(i, _): |
| 292 | zero = array_ops.zeros([], dtype=dtypes.int32) |
| 293 | v = variables.Variable(initial_value=zero) |
| 294 | return (i + 1, v.read_value()) |
| 295 | |
| 296 | with self.assertRaisesRegexp(ValueError, "inside a control-flow"): |
| 297 | control_flow_ops.while_loop(cond, body, [0, 0]) |
nothing calls this directly
no test coverage detected