Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/kernel_tests/
Dcontrol_flow_ops_py_test.py3684 chg_w = constant_op.constant(np.inf, dtype=dtypes.float32)
3686 def cond(k, _, chg_w): argument
3687 return math_ops.logical_and(k < 10, chg_w > 1e-3)
3689 def body(k, w, chg_w): argument
3693 chg_w = (
3696 return k + 1, w_n, chg_w
3698 _, w, _ = control_flow_ops.while_loop(cond, body, [k, w, chg_w])