Getting Started
Further Resources
jax.debug.print
jax.debug.breakpoint
checkify
xmap
jax.numpy
jax.scipy
jax.lax
jax.random
jax.sharding
jax.debug
jax.dlpack
jax.distributed
jax.flatten_util
jax.image
jax.nn
jax.nn.initializers
jax.ops
jax.profiler
jax.stages
jax.tree_util
jax.example_libraries
jax.example_libraries.optimizers
jax.example_libraries.stax
jax.experimental
jax.experimental.checkify
jax.experimental.global_device_array
jax.experimental.host_callback
jax.experimental.maps
jax.experimental.pjit
jax.experimental.sparse
jax.experimental.jet
jax.experimental.custom_partitioning
jax.lib
Broadcasts an array, adding new leading dimensions
operand (Union[Array, ndarray, bool_, number, bool, int, float, complex]) – an array
Union
Array
ndarray
bool_
number
bool
int
float
complex
sizes (Sequence[int]) – a sequence of integers, giving the sizes of new leading dimensions to add to the front of the array.
Sequence
An array containing the result.
See also
jax.lax.broadcast_in_dim : add new dimensions at any location in the array shape.