(*args, **kwargs)
return backend()['global_device_count'](*args, **kwargs)
Return the number of accelerators (GPUs or TPUs) in all hosts.
Return the number of accelerators (GPUs or TPUs) in all hosts.
Return the number of accelerators ( GPUs or TPUs ) in all hosts .
def global_device_count(*args, **kwargs):
  """Return the number of accelerators (GPUs or TPUs) in all hosts."""
  return backend()['global_device_count'](*args, **kwargs)
def global_device_count ( * args , * * kwargs ) : return backend ( ) [ 'global_device_count' ] ( * args , * * kwargs )