Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@matteo-grella matteo-grella released this 30 Oct 22:46
· 3 commits to main since this release

Changed

  • Replace sync.Cond with a close of channel in the broadcasting mechanism of autograd ag package
  • Refactor Matrix interface to extend from Tensor
  • Replace ag.Node and ag.DualValue with mat.Tensor
  • Breaking change: New single NewDense function accepting functional options (WithShape, WithBacking, WithGrad)
  • Refactor BaseParam struct to embed mat.Matrix
  • Remove Variable and enable gradient accumulation in Matrix
  • Revise backward method and eliminate truncated backpropagation
  • Backward function to require explicit output gradients to be accumulated beforehand
  • Move package fn out of package ag and rename it to gradfn as mat subpackage

Removed

  • Remove the parameter name to simplify the code and reduce unnecessary complexity (e.g., Introspect())
  • Remove concurrent matrix-vector multiplication as it requires more careful considerations
  • Remove the export feature in dot format
  • Remove "spago" tag annotations on embeddings