0.7.0 (2024-08-12)
0.7.0 (2024-08-12)
New features
- Expose the
ndonnx.isdtype
function. - Custom data types can now override array functions:
ndonnx.zeros
ndonnx.zeros_like
ndonnx.ones
ndonnx.ones_like
ndonnx.full
ndonnx.full_like
ndonnx.arange
ndonnx.arange
ndonnx.eye
ndonnx.tril
ndonnx.triu
ndonnx.linspace
ndonnx.where
ndonnx._experimental.UniformShapeOperations
now provides implementations of shape operations that are generic across all data types where each constituent field has the same shape (that of the overall array).
Other changes
- Fixed various deprecation warnings.
- Invoking a function using arrays with data types that lack a corresponding implementation now raise a
UnsupportedOperationError
.
Bug fixes
- Numerical operations like
ndx.sin
now raiseUnsupportedOperationError
when invoked using invalid data types likendx.utf8
rather than implicitly casting. - Fixes bug causing a promotion error when implementing numerical operations like
ndx.add
that involve type promotion. - Fixes scalar promotion logic to more accurately reflect the Array API standard. Promotion requires at least one array to be present and scalars adopt the dtype of the arrays being promoted with it.
ndx.utf8
andndx.nutf8
cannot be promoted with any other dtypes. - Fixes failure when broadcasting nullable data type arrays together in
ndx.broadcast_arrays
.