MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CondWrapper

Function CondWrapper

tensorflow/python/ops/functional_ops.py:651–653  ·  view source on GitHub ↗

A wrapper that handles loop-carried captured inputs.

(*args)

Source from the content-addressed store, hash-verified

649
650 @function.Defun(*cond_dtypes, func_name="%s_Wrapper" % cond.name)
651 def CondWrapper(*args):
652 """A wrapper that handles loop-carried captured inputs."""
653 return cond(*args[:len(body.declared_input_types)])
654
655 ret = gen_functional_ops._while(
656 input_ + body.captured_inputs,

Callers

nothing calls this directly

Calls 1

condFunction · 0.70

Tested by

no test coverage detected