Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config provides configuration settings for Lamb optimizer.
func NewDefaultConfig ¶
func NewDefaultConfig() Config
NewDefaultConfig returns a new Config with generically reasonable default values.
type Lamb ¶
Lamb implements the Lamb gradient descent optimization method.
func (*Lamb[T]) CalcDelta ¶
CalcDelta returns the difference between the current params and where the method wants it to be.
func (*Lamb[_]) IncExample ¶
func (o *Lamb[_]) IncExample()
IncExample beats the occurrence of a new example.
Click to show internal directories.
Click to hide internal directories.