Download Latest Version v1.1.0 source code.zip (566.2 kB)
Email in envelope

Get an email when there's a new version of spaGO

Home / v1.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-10-30 974 Bytes
v1.1.0 source code.tar.gz 2023-10-30 318.4 kB
v1.1.0 source code.zip 2023-10-30 566.2 kB
Totals: 3 Items   885.6 kB 0

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
Source: README.md, updated 2023-10-30