legate.core.LogicalArray.__array_interface__#

LogicalArray.__array_interface__#

dict[str, Any]

Retrieve the numpy-compatible array representation of the allocation.

Equivalent to get_physical_array().__array_interface__.

Returns:

The numpy array interface dict.

Return type:

dict[str, Any]

Raises:

ValueError – If the array is nullable or nested.

Type:

LogicalArray.__array_interface__