dpnp.tensor.result_type

dpnp.tensor.result_type(*arrays_and_dtypes)[source]

Returns the dtype that results from applying the Type Promotion Rules to the arguments.

Parameters:

arrays_and_dtypes ({usm_ndarray, dtype}) -- An arbitrary length sequence of usm_ndarray objects or dtypes.

Returns:

out -- The dtype resulting from an operation involving the input arrays and dtypes.

Return type:

dtype