(*args, **kwargs)
return backend()['scan'](*args, **kwargs)
Scan to make recurrent functions run faster on accelerators.
Scan to make recurrent functions run faster on accelerators.
Scan to make recurrent functions run faster on accelerators .
def scan(*args, **kwargs):
  """Scan to make recurrent functions run faster on accelerators."""
  return backend()['scan'](*args, **kwargs)
def scan ( * args , * * kwargs ) : return backend ( ) [ 'scan' ] ( * args , * * kwargs )