ak.backend#
Defined in awkward.operations.ak_backend on line 6.
- ak.backend()#
- 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;None if the objects are not Awkward, NumPy, JAX, or CuPy arrays (e.g. Python numbers, booleans, strings).
See ak.to_backend.