R/client.R
platform.Rd
Get the platform name of a PJRT buffer.
platform(x, ...)
(PJRTBuffer) The buffer.
PJRTBuffer
Additional arguments (unused).
character(1)
buf <- pjrt_buffer(c(1, 2, 3)) platform(buf) #> [1] "cpu"