Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exponential ¶
type Exponential struct {
// contains filtered or unexported fields
}
Exponential defines an exponential decay depending on the time step:
lr = exp((times - t) * log(lr) + log(final))
func New ¶
func New(init, final float64, iter int) *Exponential
New returns a new Exponential decay optimizer.
Click to show internal directories.
Click to hide internal directories.