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

Method scan

tensorflow/python/eager/benchmarks_test.py:1038–1040  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1036 elems = math_ops.range(1600)
1037
1038 def scan():
1039 return functional_ops.scan(
1040 lambda a, x: a + x, elems, parallel_iterations=1)
1041
1042 self._run(scan, 100)
1043

Callers 15

scanFunction · 0.80
monotonic_attentionFunction · 0.80
power_sums_tensorFunction · 0.80
testScanCommandMethod · 0.80
testWhileGradGradFailMethod · 0.80
testScan_SimpleMethod · 0.80
testScan_ReverseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected