0.9.0 (2024-08-30)
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 thegetitem
function. ndonnx.NullableCore
is now public, encapsulating nullable variants ofCoreType
s 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 theinclude_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 writingmake_nullable(x, False)
to turn an array into nullable.- User-defined data types that implement
ndonnx._core.UniformShapeOperations
may now implementndonnx.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.