def benchmarkScan(self):
    elems = math_ops.range(1600)

    def scan():
        return functional_ops.scan((lambda a, x: (a + x)), elems, parallel_iterations=1)
    self._run(scan, 100)
def benchmarkScan(self):
    elems = math_ops.range(1600)

    def scan():
        return functional_ops.scan((lambda a, x: (a + x)), elems, parallel_iterations=1)
    self._run(scan, 100)