legate.core.Runtime.create_array_like#
- Runtime.create_array_like(
- self,
- LogicalArray array,
- Type dtype=None,
Create an array isomorphic to a given array.
- Parameters:
array (LogicalArray) – The array to model the new array from.
dtype (Type (optional)) – The type of the resulting array. If given, must be compatible with
array
’s type. If not given,array
’s type is used.
- Returns:
The new array.
- Return type:
LogicalArray