legate.core.LogicalArray.slice#

LogicalArray.slice(self, int32_t dim, slice sl) LogicalArray#

Get a contiguous sub-section of the array. This call may block if the array is unbound.

Parameters:
  • dim (int) – Dimension to slice at.

  • sl (slice) – The slice descriptor

Returns:

The array comprising the sliced section.

Return type:

LogicalArray