data-apis / array-api-strict

Strict implementation of the Python array API (previously numpy.array_api)
http://data-apis.org/array-api-strict/
Other
7 stars 4 forks source link

Support for unstack #31

Closed AzeezIsh closed 2 months ago

AzeezIsh commented 4 months ago

https://data-apis.org/array-api/latest/API_specification/generated/array_api.unstack.html

I would appreciate if you could update this with an unstack command!

asmeurer commented 4 months ago

2023.12 support is tracked at #25. Right now we are blocked on test suite support.

Perhaps once #30 is completed we can start adding 2023.12 functions piecemeal, since they would be disabled by default. unstack should match NumPy so there's little risk in adding it even without test suite support.

asmeurer commented 2 months ago

unstack is now implemented. For now you have to enable 2023.12 but in a future version that will be the default. https://data-apis.org/array-api-strict/api.html#array_api_strict.set_array_api_strict_flags