TorchSharp Versions Save

A .NET library that provides access to the library that powers PyTorch.

v0.99.3

1 year ago

NuGet Version 0.99.3

For a complete list of changes from the last GH release, see: https://github.com/dotnet/TorchSharp/discussions/479#discussioncomment-2392065

API Changes:

Fixing misspelling of 'DetachFromDisposeScope,' deprecating the old spelling. Adding allow_tf32 Adding overloads of Module.save() and Module.load() taking a 'Stream' argument. Adding torch.softmax() and Tensor.softmax() as aliases for torch.special.softmax() Adding torch.from_file() Adding a number of missing pointwise Tensor operations. Adding select_scatter, diagonal_scatter, and slice_scatter Adding torch.set_printoptions Adding torch.cartesian_prod, combinations, and cov. Adding torch.cdist, diag_embed, rot90, triu_indices, tril_indices

Fixed Bugs:

#913 conv = nn.Conv2d(c1, 1, 1, bias=False).requires_grad_(False) #910 nn.Module.modules is missing #912 nn.Module save and state_ dict method error

v0.96.3

2 years ago

Changes since release v0.95.4

NuGet Version 0.96.3

API Changes:

NOTE: This release contains breaking changes.

The APIs to create optimizers all take 'parameters()' as well as 'named_parameters()' now.
Support for parameter groups in most optimizers.
Support for parameter groups in LR schedulers.

Fixed Bugs:

#495 Add support for OptimizerParamGroup
#509 Tensor.conj() not implemented
#515 what's reason for making register_module internal?
#516 AdamW bug on v0.96.0
#521 Can't set Tensor slice using indexing
#525 LSTM's forward function not work with null hidden and cell state
#532 Why does storing module layers in arrays break the learning process?

NuGet Version 0.96.1

API Changes:

Fixed Bugs:

Using libtorch CPU packages from F# Interactive required explicit native loads

#510 Module.Load throws Mismatched state_dict sizes exception on BatchNorm1d

NuGet Version 0.96.0

API Changes:

NOTE: This release contains breaking changes.

'Module.named_parameters()', 'parameters()', 'named_modules()', 'named_children()' all return IEnumerable instances instead of arrays.
Adding weight and bias properties to the RNN modules.
Lower-cased names: Module.Train --> Module.train and Module.Eval --> Module.eval

Fixed Bugs:

#496 Wrong output shape of torch.nn.Conv2d with 2d stride overload
#499 Setting Linear.weight is not reflected in 'parameters()'
#500 BatchNorm1d throws exception during eval with batch size of 1

v0.95.4

2 years ago

Last release of 2021.

See ReleaseNotes.md for more details.

0.1

5 years ago