legate.core.Runtime.create_nullable_array#

Runtime.create_nullable_array(
self,
LogicalStore store,
LogicalStore null_mask,
) LogicalArray#

Create a nullable array from a store and a null mask.

Parameters:
  • store (LogicalStore) – The store to create the array from.

  • null_mask (LogicalStore) – The store holding the null mask indicating null elements of store.

Returns:

The new array.

Return type:

LogicalArray

Raises:

ValueError – If null_mask is not of boolean type. Or if store and null_mask have different shapes. Or if store and null_mask are not top-level stores.