Skip to content

0.9.0 (2024-08-30)

Compare
Choose a tag to compare
@adityagoel4512 adityagoel4512 released this 30 Aug 08:35
· 14 commits to main since this release
b74c957

0.9.0 (2024-08-30)

New features

  • User defined data types can now define how arrays with that dtype are constructed by implementing the make_array function.
  • User defined data types can now define how they are indexed (via __getitem__) by implementing the getitem function.
  • ndonnx.NullableCore is now public, encapsulating nullable variants of CoreTypes exported by ndonnx.

Bug fixes

  • Various operations that depend on the array's shape have been updated to work correctly with lazy arrays.
  • ndonnx.cumulative_sum now correctly applies the include_initial parameter and works around missing onnxruntime kernels for unsigned integral types.
  • ndonnx.additional.make_nullable applies broadcasting to the provided null array (instead of reshape like it did previously). This allows writing make_nullable(x, False) to turn an array into nullable.
  • User-defined data types that implement ndonnx._core.UniformShapeOperations may now implement ndonnx.where without requiring both data types be promotable.

Breaking change

  • Iterating over dynamic dimensions of ndonnx.Array is no longer allowed since it commonly lead to infinite loops when used without an explicit break condition.