legate.core.InlineAllocation.__array_interface__#

InlineAllocation.__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 allocation is allocated on the GPU.

Type:

InlineAllocation.__array_interface__