array-api
array-api copied to clipboard
feat: add support for specifying a data type "kind" in `astype`
This PR:
- Addresses a comment made in https://github.com/data-apis/array-api/issues/841#issuecomment-2392032433 and should close https://github.com/data-apis/array-api/issues/859 by adding data type "kind" support in
astype.
Gentle reminder of the 2024 milestone here!
As discussed during the workgroup meeting on January 23, 2025, given that this is new behavior without any downstream implementations, we decided to do two things:
- Punt to v2025 in order to avoid rushing this into the spec.
- Incubate the API in
array-api-compatin order to work out any design issues after having real-world implementations.
@ev-br Would you mind adding to array-api-compat and circling back here?