legate.core.Scalar#
- class legate.core.Scalar(value: Any, dtype: object = None)#
- __init__()#
Construct a Scalar.
- Parameters:
value (Any) – The value to fill the scalar with.
dtype (Type | None) – The Type of the value. If it is None, the type will be deduced.
- Raises:
NotImplementedError – If the type could not be deduced from the object.
Attributes
dict[str, Any]
uintptr_t
uintptr_t
Type
Methods