Skip to content

Commit

Permalink
Add changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
adityagoel4512 committed Jan 27, 2025
1 parent b4780cd commit d6e841e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
Changelog
=========

0.10.0 (unreleased)
------------------

- ndonnx now supports the :func:`ndonnx.__array_namespace_info__` function from the Array API standard.
- Arrays now expose the :meth:`ndonnx.Array.device` property to improve Array API compatibility. Note that serializing an ONNX model inherently postpones device placement decisions to the runtime so currently one abstract device is supported.


0.9.3 (2024-10-25)
------------------

Expand Down
2 changes: 1 addition & 1 deletion ndonnx/_data_types/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def kinds(dtype: CoreType) -> tuple[str, ...]:
"""Return the kinds of the data type."""
if dtype in _kinds:
return _kinds[dtype]
elif dtype in (utf8,):
elif dtype == utf8:
raise ValueError(f"We don't yet define a kind for {dtype}")
else:
raise ValueError(f"Unknown data type: {dtype}")

0 comments on commit d6e841e

Please sign in to comment.