R/client.R
pjrt_client.Rd
Create a PJRT client for a specific device.
pjrt_client(platform = NULL)
(character(1) | NULL) Platform name (e.g., "cpu", "cuda", "metal"). If NULL, use PJRT_PLATFORM environment variable or default to "cpu".
character(1)
NULL
PJRT_PLATFORM
PJRTClient
platform_name() for a character(1) representation of the platform.
platform_name()
pjrt_client("cpu")