Returns a list of all devices for a given backend.
Each device is represented by a subclass of
GpuDevice). The length of the returned list is equal to
device_count(backend). Local devices can be identified by comparing
Device.process_indexto the value returned by
None, returns all the devices from the default backend. The default backend is generally
'tpu'if available, otherwise