Closed tomwhite closed 3 months ago
Some array API implementations are more lenient in the dtypes they allow for certain operations - e.g. sum can be used on arrays of bool (with return type int64). The array API doesn't rule out this behaviour - it's just not a part of the spec.
sum
bool
int64
This is needed to improve Xarray integration, see https://github.com/cubed-dev/cubed-xarray/issues/8
Some array API implementations are more lenient in the dtypes they allow for certain operations - e.g.
sum
can be used on arrays ofbool
(with return typeint64
). The array API doesn't rule out this behaviour - it's just not a part of the spec.This is needed to improve Xarray integration, see https://github.com/cubed-dev/cubed-xarray/issues/8