Home
last modified time | relevance | path

Searched refs:iterate_index (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/autograph/operators/
Dcontrol_flow.py492 iterate_index = 0
495 return (iterate_index,) + get_state()
498 nonlocal iterate_index
500 iterate_index, *loop_vars = aug_loop_vars # pylint:disable=unused-variable
506 nonlocal iterate_index
507 body(iter_.read(iterate_index))
508 iterate_index += 1
511 main_test = iterate_index < n
540 iterate_index = 0
543 return (iterate_index,) + get_state()
[all …]
Dcontrol_flow_deprecated_py2.py402 def while_body(iterate_index, *loop_vars): argument
404 iterate = iter_.read(iterate_index)
407 loop_vars = (iterate_index + 1,)
413 def while_cond(iterate_index, *loop_vars): argument
415 return control_flow_ops.cond(iterate_index < n,
418 return iterate_index < n
466 def while_body(iterate_index, *loop_vars): argument
468 iterate = iter_[iterate_index]
471 loop_vars = (iterate_index + 1,)
477 def while_cond(iterate_index, *loop_vars): argument
[all …]