-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT: A few updates to the array_api #20066
Commits on Oct 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 48005c1 - Browse repository at this point
Copy the full SHA 48005c1View commit details
Commits on Oct 7, 2021
-
Restrict multidimensional indexing in the array API namespace
The spec has recently been updated to only require multiaxis (i.e., tuple) indices in the case where every axis is indexed, meaning there are either as many indices as axes or the index has an ellipsis.
Configuration menu - View commit details
-
Copy full SHA for 9af4814 - Browse repository at this point
Copy the full SHA 9af4814View commit details
Commits on Oct 19, 2021
-
Fix type promotion for numpy.array_api.where
where does value-based promotion for 0-dimensional arrays, so we use the same trick as in the Array operators to avoid this.
Configuration menu - View commit details
-
Copy full SHA for cb0b9c6 - Browse repository at this point
Copy the full SHA cb0b9c6View commit details
Commits on Oct 20, 2021
-
Print empty array_api arrays using empty()
Printing behavior isn't required by the spec. This is just to make things easier to understand, especially with the array API test suite.
Configuration menu - View commit details
-
Copy full SHA for 7da7a99 - Browse repository at this point
Copy the full SHA 7da7a99View commit details
Commits on Oct 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0169af7 - Browse repository at this point
Copy the full SHA 0169af7View commit details
Commits on Nov 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e0589fd - Browse repository at this point
Copy the full SHA e0589fdView commit details -
Remove DLPack support from numpy.array_api.asarray()
from_dlpack() should be used to create arrays using DLPack.
Configuration menu - View commit details
-
Copy full SHA for 21faf34 - Browse repository at this point
Copy the full SHA 21faf34View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0f591d - Browse repository at this point
Copy the full SHA d0f591dView commit details
Commits on Nov 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 17d7886 - Browse repository at this point
Copy the full SHA 17d7886View commit details -
Update the unique_* functions in numpy.array_api
unique() in the array API was replaced with three separate functions, unique_all(), unique_inverse(), and unique_values(), in order to avoid polymorphic return types. Additionally, it should be noted that these functions to not currently conform to the spec with respect to NaN behavior. The spec requires multiple NaNs to be returned, but np.unique() returns a single NaN. Since this is currently an open issue in NumPy to possibly revert, I have not yet worked around this. See numpy#20326.
Configuration menu - View commit details
-
Copy full SHA for 7d9edf3 - Browse repository at this point
Copy the full SHA 7d9edf3View commit details -
Add the stream argument to the array API to_device method
This does nothing in NumPy, and is just present so that the signature is valid according to the spec.
Configuration menu - View commit details
-
Copy full SHA for cb335d2 - Browse repository at this point
Copy the full SHA cb335d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cae94d - Browse repository at this point
Copy the full SHA 5cae94dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6053aa - Browse repository at this point
Copy the full SHA f6053aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 680e0a4 - Browse repository at this point
Copy the full SHA 680e0a4View commit details
Commits on Nov 9, 2021
-
Update the array_api indexing restrictions
The "multiaxis indexing must index every axis explicitly or use an ellipsis" was supposed to include any type of index, not just tuple indices.
Configuration menu - View commit details
-
Copy full SHA for 49a3cc9 - Browse repository at this point
Copy the full SHA 49a3cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 475b01d - Browse repository at this point
Copy the full SHA 475b01dView commit details
Commits on Nov 10, 2021
-
Use a simpler type annotation for the array API to_device method
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6352d11 - Browse repository at this point
Copy the full SHA 6352d11View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7bf06e - Browse repository at this point
Copy the full SHA b7bf06eView commit details -
Fix a test failure in the array_api submodule
The array_api cannot use the NumPy testing functions because array_api arrays do not mix with NumPy arrays, and also NumPy testing functions may use APIs that aren't supported in the array API.
Configuration menu - View commit details
-
Copy full SHA for 61bc679 - Browse repository at this point
Copy the full SHA 61bc679View commit details -
Merge branch 'array-api-updates2' of github.com:asmeurer/numpy into a…
…rray-api-updates2
Configuration menu - View commit details
-
Copy full SHA for f72ed85 - Browse repository at this point
Copy the full SHA f72ed85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09aa2b5 - Browse repository at this point
Copy the full SHA 09aa2b5View commit details
Commits on Nov 11, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 580a616 - Browse repository at this point
Copy the full SHA 580a616View commit details
Commits on Nov 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b2af8e9 - Browse repository at this point
Copy the full SHA b2af8e9View commit details