jax.pallas.tpu_sc.addupdate#
- jax.pallas.tpu_sc.addupdate(ref, x)[source]#
Performs an atomic add to a ref.
- Parameters:
ref (AbstractRef | TransformedRef) – The ref to store into.
x (Array) – The array to store. Must have the same shape as
ref.
- Return type:
None