The array API standard will soon require the `device` keyword be added to `can_cast` and `result_type` See: https://github.com/data-apis/array-api/pull/691
The array API standard will soon require the
devicekeyword be added tocan_castandresult_typeSee:
data-apis/array-api#691