-
Support the linalg extension in the
array_api_compat.torch
namespace. -
Add
isdtype()
.
- Fix the
k
keyword argument totril
andtriu
intorch
.
- Rename
get_namespace()
toarray_namespace()
(get_namespace()
is maintained as a backwards compatible alias).
-
The minimum supported NumPy version is now 1.21. Fixed a few issues with NumPy 1.21 (with
unique_*
andasarray
), although there are also a few known issues with this version (see the README). -
Add
api_version
toget_namespace()
. -
array_namespace()
(néeget_namespace()
) now works correctly withtorch
tensors. -
array_namespace()
(néeget_namespace()
) now works correctly withnumpy.array_api
arrays. -
array_namespace()
(néeget_namespace()
) now raisesTypeError
instead ofValueError
. -
Fix the
torch.std
wrapper. -
Add
torch
wrappers forones
,empty
, andzeros
so thatshape
can be passed as a keyword argument.
-
Added support for PyTorch.
-
Add helper function
size()
(required if torch is used astorch.Tensor.size
is a method that is incompatible with the array API.size
). -
All wrapper functions that wrap existing library functions now pass through arbitrary
**kwargs
.
-
Added CI to run against the array API testsuite.
-
Fix
sort(stable=False)
andargsort(stable=False)
with CuPy.
- Initial release. Includes support for NumPy and CuPy.