Versions in this module Expand all Collapse all v1 v1.1.0 Oct 30, 2023 Changes in this version + type Config struct + Beta1 float64 + Beta2 float64 + Epsilon float64 + Lambda float64 + StepSize float64 + func NewConfig(stepSize, beta1, beta2, epsilon, lambda float64) Config + func NewDefaultConfig() Config + type Lamb struct + Alpha float64 + TimeStep int + func New(c Config) *Lamb[T] + func (o *Lamb[T]) CalcDelta(state *State, cur mat.Matrix, grads mat.Matrix) mat.Matrix + func (o *Lamb[T]) OptimizeParams(param *nn.Param) error + func (o *Lamb[_]) IncExample() + type State struct + Buf1 mat.Matrix + Buf2 mat.Matrix + Buf3 mat.Matrix + M mat.Matrix + V mat.Matrix