1.10.0
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
andTensor.dim.T
. The oldtranspose
is now calledswap_axes
. - Add
save
,load
to store using any (nested) tensor data using NumPy - Add
ncat
andtcat
variants (ccat
,icat
,scat
,dcat
) - Add
random_permutation
,pick_random
- Functions such as
slice
,max
,min
now acceptrange
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
andmap_c2d
range
is now also available asarange
- 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