cunumeric.ndarray.find_common_type#

static ndarray.find_common_type(*args) dtype[Any]#

Determine common type following standard coercion rules.

Parameters:

*args – A list of dtypes or dtype convertible objects representing arrays or scalars.

Returns:

datatype – The common data type, which is the maximum of the array types, ignoring any scalar types , unless the maximum scalar type is of a different kind (dtype.kind). If the kind is not understood, then None is returned.

Return type:

data-type