legate.core.Runtime.create_nullable_array#
- Runtime.create_nullable_array(
- self,
- LogicalStore store,
- LogicalStore null_mask,
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:
- Raises:
ValueError – If
null_mask
is not of boolean type. Or ifstore
andnull_mask
have different shapes. Or ifstore
andnull_mask
are not top-level stores.