legate.core.StructLogicalArray.project#

StructLogicalArray.project(
self,
int32_t dim,
int64_t index,
) LogicalArray#

Project out or “flatten” a dimension of the array. This call may block if the array is unbound.

Parameters:
  • dim (int) – The dimension to project out.

  • index (int) – The index of the chosen dimension.

Returns:

The array with the projected-out dimension.

Return type:

LogicalArray