jax.Array — JAX documentation
jax.Array is the public interface for instance checks and type annotation of JAX arrays and tracers. Its main applications are in instance checks and type annotations; for example: jax.Array should not be used directly for creation of arrays; instead you should use array creation routines offered in jax.numpy, such as jax.numpy.array(), jax.numpy.zeros(), jax.numpy.ones(), jax.numpy.full(), jax.numpy.arange(), etc. Methods __init__() addressable_data(index) Return an array of the addressable data at a particular index. all([axis, out, keepdims, where]) Test whether all array elements along a given axis evaluate to True. any([axis, out, keepdims, where]) Test whether any of the array elements along a given axis evaluate to True. argmax([axis, out, keepdims]) Returns the indices of the maximum values along an axis. argmin([axis, out, keepdims]) Returns the indices of the minimum values along an axis. argpartition(kth[, axis]) Returns indices that partially sort an array. argsort([axis, k
jax.Array # class jax. Array # Array base class for JAX jax.Array is the public interface for instance checks and type annotation of JAX arrays and tracers. Its main applications are in instance checks and type annotations; for example: x = jnp . arange ( 5 ) isinstance ( x , jax . Array ) # returns True both inside and outside traced functions. def f ( x : Array ) -> Array : # type annotations are valid for traced and non-traced types. return x jax.Array should not be used directly for creation of arrays; instead you should use array creation routines offered in jax.numpy , such as jax.numpy.
Explore this link on the map →related reading
- Key concepts — JAX documentationjax.readthedocs.io
- GitHub - jax-ml/jax: Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and more · GitHubgithub.com
- Quickstart: How to think in JAX — JAX documentationjax.readthedocs.io
- 🔪 JAX - The Sharp Bits 🔪 — JAX documentationjax.readthedocs.io
- Why You Should (or Shouldn't) be Using Google's JAX in 2023assemblyai.com
- JAX As Accelerated NumPy — JAX documentationjax.readthedocs.io
- Introduction to debugging — JAX documentationjax.readthedocs.io
- Why You Should (or Shouldn't) be Using Google's JAX in 2023assemblyai.com
- Chapter 0: Fundamentals - ARENAlearn.arena.education
- bookbear express | Ava | Substackavabear.xyz
- Frequently asked questions (FAQ) — JAX documentationjax.readthedocs.io
- jax.random module — JAX documentationjax.readthedocs.io