ak.backend#
Defined in awkward.operations.ak_backend on line 8.
- ak.backend(*arrays)#
 - Parameters
 arrays – Array-like data (anything
ak.to_layoutrecognizes).
Returns the names of the backend used by arrays. This name may be
"cpu"for arrays backed by NumPy;"cuda"for arrays backed by CuPy;"jax"for arrays backed by JAX;"typetracer"for arrays without any data;None if the objects are not Awkward, NumPy, JAX, CuPy, or typetracer arrays (e.g. Python numbers, booleans, strings).
See ak.to_backend.