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

Function _scan

tensorflow/tensorflow/python/ops/ctc_ops.py:1062–1172  ·  view source on GitHub ↗

Repeatedly applies callable `fn` to a sequence of elements. Implemented by functional_ops.While, tpu friendly, no gradient. This is similar to functional_ops.scan but significantly faster on tpu/gpu for the forward backward use case. Examples: scan(lambda a, e: a + e, [1.0, 2.0, 3.0],

(fn, elems, initial, reverse=False, inclusive=False, final_only=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_forward_backward_logFunction · 0.85

Calls 11

packFunction · 0.85
executing_eagerlyMethod · 0.80
condFunction · 0.70
bodyFunction · 0.70
flattenMethod · 0.45
shapeMethod · 0.45
constantMethod · 0.45
concatMethod · 0.45
emptyMethod · 0.45
appendMethod · 0.45
WhileMethod · 0.45

Tested by

no test coverage detected