Tutorials
Advanced JAX Tutorials
Notes
Developer documentation
API documentation
jit
vmap
pmap
Warning
This page was created from a pull request.
jax.lax.
broadcast
Broadcasts an array, adding new major dimensions.
Wraps XLA’s Broadcast operator.
operand (Any) – an array
Any
sizes (Sequence[int]) – a sequence of integers, giving the sizes of new major dimensions to add.
Sequence
int
An array containing the result.