MCPcopy Create free account
hub / github.com/alibaba/nann / while_stmt

Function while_stmt

tensorflow/tensorflow/python/autograph/operators/control_flow.py:675–730  ·  view source on GitHub ↗

Functional form of a while statement. The loop operates on a so-called state, which includes all symbols that are variant across loop iterations. In what follows we refer to state as either a tuple of entities that represent an actual state, or a list of arguments of the corresponding types

(
    test,
    body,
    get_state,
    set_state,
    init_vars,
    basic_symbol_names=None,
    composite_symbol_names=None,
    opts=None,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

_tf_while_stmtFunction · 0.85
_py_while_stmtFunction · 0.85
testFunction · 0.50
bodyFunction · 0.50
as_defaultMethod · 0.45

Tested by

no test coverage detected