Skip to contents

Get the platform name of a PJRT buffer.

Usage

platform(x, ...)

Arguments

x

(PJRTBuffer)
The buffer.

...

Additional arguments (unused).

Value

character(1)

Examples

buf <- pjrt_buffer(c(1, 2, 3))
platform(buf)
#> [1] "cpu"