jax.pallas.tpu_sc.unpack#
- jax.pallas.tpu_sc.unpack(ab, /, *, format, preferred_element_type=None)[source]#
Unpacks two arrays according to the given format.
Warning
This is a temporary low-level API, which only works with
needs_layout_passes=False. Usejax.lax.convert_element_type()orjax.Array.astype()instead. It will be removed once the SparseCore compiler is able to do packing/unpacking automatically.- Parameters:
- Returns:
The unpacked arrays.
- Return type: