Skip to content

Latest commit

 

History

History
103 lines (71 loc) · 3.58 KB

File metadata and controls

103 lines (71 loc) · 3.58 KB

Changelog

  • Add pickle support to DataclassArray.

[1.5.2] - 2024-03-19

  • Drop Python 3.10 support
  • Fix etree.spec_like, jax.ShapeDtypeStruct,... support
  • Changed jax.tree_util keep paths (for better flatten repr)

1.5.1 - 2023-08-30

  • Fix look_at compatibility with pytorch
  • Add dca.vectorize_method compatibility for tf.nest/tf.data.

1.5.0 - 2023-07-10

  • Add tf.nest/tf.data compatibility for DataclassArray.
  • Fix import error due to etils

1.4.2 - 2023-07-10

  • Add dca.concat method in addition to dca.stack.
  • Now require Python 3.9 (drop 3.8 support)

1.4.1 - 2023-03-20

  • Add torch==2.0.0 support

1.4.0 - 2023-03-13

  • Add torch support!
  • 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 subscriptable error)

1.2.0 - 2022-10-17

  • Changed: By default, dataclass_array do not cast and broadcast inputs anymore.
  • Changed: dca.DataclassArray fields 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_array to customize the dca.DataclassArray params

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