legate.core.StructLogicalArray.__getitem__#
- StructLogicalArray.__getitem__(
- self,
- indices: int64_t | slice | tuple[int64_t | slice, ...],
Get a subarray of this array.
- Parameters:
indices (int | slice | tuple[int | slice, ...]) – The index or slice(s) of indices of the subarrays to retrieve.
- Returns:
The array comprising the subarrays of the slice.
- Return type:
- Raises:
NotImplementedError – If the array is nested or nullable.