dpctl.tensor
returns int8 arrays from ceil
, trunc
and floor
function for bool input array
#2030
Labels
dpctl.tensor
returns int8 arrays from ceil
, trunc
and floor
function for bool input array
#2030
The example below works differently with numpy:
In overall, it seems Python array API standard requires dtype of output array to be matched with dtype of input array:
Although the support of bool dtypes is not mandated:
It sounds like if dpctl provides the support of bool dtype, it has to return out array of bool dtype also.
The text was updated successfully, but these errors were encountered: