Skip to content

v3.9.1

Choose a tag to compare

@EthanTreg EthanTreg released this 06 Oct 10:39
· 18 commits to master since this release

Additions

  • Added BaseSingleLayer.
  • Added Shapes class.
  • Added Data class for data & uncertainties.
  • Added DataList class for storing multiple arrays or tensors.
  • Added BaseNetwork loss dictionary support.
  • Added support to BaseNetwork for list of transforms.
  • Added DataList support to BaseNetwork.
  • Added BaseNetwork._loss_tensor.
  • Added Data support to BaseTransform.
  • Added ConvNeXt._head.
  • Added return_idxs to loader_init.
  • Added data_collation to collate lists of arrays, tensors, Data, and DataLists.
  • Added loss_func argument to Encoder and NormFlowEncoder.
  • Added GaussianNLLLoss.
  • Added Pack layer.
  • Added layer and checkpoint option to Unpack.
  • Added support for DataList to several layers.
  • Added CompatibleNetwork.
  • Added Network.version.
  • Added len, getitem, and iter magic methods to Network.
  • Added label keyword argument to ascii_plot.
  • Added several types in types.py.
  • Added BatchNorm layer.
  • Added support to set total loss in BaseNetwork if loss is a dictionary.
  • Added support for DataList in Index layer.
  • Addd option to only pack output from previous layer in Pack layer.
  • Added root keyword argument to Network for loading networks and composite layers.

Changes

  • Changed layers to use Shapes class for layer shapes.
  • Changed most methods and functions to not allow positional arguments for keyword arguments.
  • Changed BaseNetwork.predict to not return None values.
  • Changed load_net to accept kwargs to torch.load.
  • Changed ConvNeXtBlock to netloader.layers.
  • Changed type hints to be more consistent.
  • Changed package versions.
  • Changed Index layer to use indexing or slicing.

Removals

  • Removed UNSET.
  • Removed support for BaseLayer.layers of type list.

Deprecations

  • Deprecated BaseLayer.layers.
  • Deprecated BaseLayer.forward.
  • Deprecated BaseNetwork._loss_func.
  • Deprecated number and greater arguments in Index layer.

Fixes

  • Fixed ConvNext weight initialisation for biases that are None.
  • Fixed Network ignoring Network.layer_num.
  • Fixed Log uncertainty inplace operations.
  • Fixed type hint errors.
  • Fixed backwards compatibility with Python-3.11.
  • Fixed BaseDataset error message for incorrect attribute length.
  • Fixed Concatenate Layer when dim=-1.
  • Fixed Index transform not detecting old state format.
  • Fixed Normalise transform error for offset or scale ndarray keyword arguments.