Get the addressable devices for a PJRT client.
Arguments
- client
(
PJRTClient)
Object convertible to aPJRTClient.
Examples
# Create client (defaults to CPU)
client <- pjrt_client()
devices(client)
#> [[1]]
#> <CpuDevice(id=0)>
#>
Get the addressable devices for a PJRT client.
(PJRTClient)
Object convertible to a PJRTClient.
# Create client (defaults to CPU)
client <- pjrt_client()
devices(client)
#> [[1]]
#> <CpuDevice(id=0)>
#>