Skip to content

0.7.0 (2024-08-12)

Compare
Choose a tag to compare
@adityagoel4512 adityagoel4512 released this 12 Aug 21:20
· 34 commits to main since this release
8a74385

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 raise UnsupportedOperationError when invoked using invalid data types like ndx.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 and ndx.nutf8 cannot be promoted with any other dtypes.
  • Fixes failure when broadcasting nullable data type arrays together in ndx.broadcast_arrays.