legate.core.PhysicalArray.__array_interface__#

PhysicalArray.__array_interface__#

dict[str, Any]

Retrieve the numpy-compatible array representation of the allocation.

Returns:

The numpy array interface dict.

Return type:

dict[str, Any]

Raises:

ValueError – If the array is nullable or nested.

Type:

PhysicalArray.__array_interface__