We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__array__
1 parent 3259202 commit d9f7fa6Copy full SHA for d9f7fa6
docs/changelog.md
@@ -2,6 +2,14 @@
2
3
## 2.1.1 (2024-11-06)
4
5
+### Major Changes
6
+
7
+- Remove the `__array__` method from array-api-strict arrays. This means they
8
+ will no longer be implicitly converted to NumPy arrays when passed to `np`
9
+ functions. This method was previously implemented as a convenience, but it
10
+ isn't part of the array API standard. To portably convert an array API
11
+ strict array to a NumPy array, use `np.from_dlpack(x)`
12
13
### Minor Changes
14
15
- Use a more robust implementation of `clip()` that handles corner cases better.
0 commit comments