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

Function condition_wrapper

tensorflow/python/tpu/training_loop.py:95–99  ·  view source on GitHub ↗
(*inputs)

Source from the content-addressed store, hash-verified

93 condition_arg_error))
94
95 def condition_wrapper(*inputs):
96 # Discards the dummy output added for arity-0 loops.
97 if input_arity == 0:
98 inputs = []
99 return condition(*inputs)
100
101 def body_wrapper(*inputs):
102 """Wrapper around `body` that handles infeed queues and control deps."""

Callers

nothing calls this directly

Calls 1

conditionFunction · 0.50

Tested by

no test coverage detected