Get the element type of a buffer.
Arguments
- x
(
PJRTBuffer)
Buffer.
Examples
buf <- pjrt_buffer(c(1.0, 2.0, 3.0))
elt_type(buf)
#> <f32>
Get the element type of a buffer.
(PJRTBuffer)
Buffer.
buf <- pjrt_buffer(c(1.0, 2.0, 3.0))
elt_type(buf)
#> <f32>