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

Function cond

tensorflow/python/ops/ctc_ops.py:1167–1169  ·  view source on GitHub ↗
(i, num_elems, *args)

Source from the content-addressed store, hash-verified

1165
1166 # TODO(tombagby): Update to tfe.defun
1167 def cond(i, num_elems, *args):
1168 del args
1169 return i >= 0 if reverse else i < num_elems
1170
1171 # The loop *args are [output tensors] + [accumulator tensors] which must
1172 # be paired. Each output corresponds to one accumulator.

Callers 4

_scanFunction · 0.70
CondWrapperFunction · 0.70
wrapped_condFunction · 0.70

Calls

no outgoing calls

Tested by 1