- Add pickle support to
DataclassArray.
- Drop Python 3.10 support
- Fix
etree.spec_like,jax.ShapeDtypeStruct,... support - Changed
jax.tree_utilkeep paths (for better flatten repr)
1.5.1 - 2023-08-30
- Fix look_at compatibility with pytorch
- Add
dca.vectorize_methodcompatibility fortf.nest/tf.data.
1.5.0 - 2023-07-10
- Add
tf.nest/tf.datacompatibility forDataclassArray. - Fix import error due to
etils
1.4.2 - 2023-07-10
- Add
dca.concatmethod in addition todca.stack. - Now require Python 3.9 (drop 3.8 support)
1.4.1 - 2023-03-20
- Add
torch==2.0.0support
1.4.0 - 2023-03-13
- Add
torchsupport! - Add
.cpu(),.cuda(),.to()methods to move the dataclass from devices when using torch. - Breaking:
@dataclass(frozen=True)is now automatically applied
1.3.0 - 2023-01-16
- Added: Support for static
dca.DataclassArray(dataclasses with only static fields).
1.2.1 - 2022-11-24
- Fixed: Compatibility with
edc.dataclass(auto_cast=True)(fix the'type' object is not subscriptableerror)
1.2.0 - 2022-10-17
- Changed: By default, dataclass_array do not cast and broadcast inputs anymore.
- Changed:
dca.DataclassArrayfields can be annotated with named axis (e.g.FloatArray['*shape h w 3']). Note that consistency across fields is not checked yet. - Added:
@dca.dataclass_arrayto customize thedca.DataclassArrayparams
1.1.0 - 2022-08-15
- Added: Array types can be imported directly from
dataclass_array.typing - Added: Syntax to specify the shape of the DataclassArray (e.g.
MyRay['h w']). - Fixed: Correctly forward non-init fields in
.replace,tree_map,@dca.vectorize_method
1.0.0 - 2022-08-08
- Initial release