Skip to content

1.10.0

Compare
Choose a tag to compare
@holl- holl- released this 26 Nov 22:28
· 65 commits to main since this release

This release adds a lot of new functionality and pushes the new paradigm of letting users define custom types as @dataclass with @cached_property derived values.

  • Expanded support for non-uniform tensors and sparse matrices
  • Add tensor transpose shorthands Tensor.Ti, .Tc, .Ts and Tensor.dim.T. The old transpose is now called swap_axes.
  • Add save, load to store using any (nested) tensor data using NumPy
  • Add ncat and tcat variants (ccat, icat, scat, dcat)
  • Add random_permutation, pick_random
  • Functions such as slice, max, min now accept range to return the gather indices
  • Add softmax, nan_to_0, counter_intersections
  • Multi-Tensor unpacking in unpack
  • Add Tensor.print
  • Add *sum and *mean functions for the various dimension types
  • Add map_d2b and map_c2d
  • range is now also available as arange
  • Deprecate rotation functions and move to PhiFlow
  • Improved dataclass attribute detection, add experimental dataclass_getitem

Plus tons of bug fixes!

pip install phiml==1.10.0