legate.core.Scalar.__array_interface__#

Scalar.__array_interface__#

dict[str, Any]

Retrieve the numpy-compatible array representation of the scalar.

Returns:

The numpy array interface dict.

Return type:

dict[str, Any]

Raises:

ValueError – If the type of the value in the scalar is variably sized (e.g. a list).

Type:

Scalar.__array_interface__