legate.core.LogicalArray.delinearize#

LogicalArray.delinearize(self, int32_t dim, shape) LogicalArray#

Delinearize a dimension into multiple dimensions. This call may block if the array is unbound.

Parameters:
  • dim (int) – Dimension to delinearize.

  • shape (Collection[int]) – The extents for the resulting dimensions

Returns:

The array with the chosen delinearized dimension.

Return type:

LogicalArray

Raises:

ValueError – If shape is not iterable.