legate.core.FixedArrayType#
- class legate.core.FixedArrayType#
- __init__(*args, **kwargs)#
Attributes
uint32_t
TypeCode
Type
bool
uint32_t
uintptr_t
uint32_t
int32_t
bool
Methods
__eq__(self, other)Compate this type against another.
__ge__(value, /)Return self>=value.
__gt__(value, /)Return self>value.
__hash__(self)Compute the hash of the type.
__le__(value, /)Return self<=value.
__lt__(value, /)Return self<value.
__ne__(value, /)Return self!=value.
__repr__(self)Return a human-readable string representation of the type.
from_numpy_dtype(dtype)Construct a
Typeobject from a numpydtype.from_python_object(py_object)Construct a
Typeobject by deducing the type of a python object.record_reduction_op(self, int32_t op_kind, ...)Record a reduction operator.
reduction_op_id(self, int32_t op_kind)Finds the global redop ID for a given reduction op kind.
to_numpy_dtype(self)Get the equivalent numpy dtype for this type.