descent

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Descent

type Descent struct {
	// contains filtered or unexported fields
}

Gradient descent optimiser; see the following link for details: https://fluxml.ai/Flux.jl/stable/training/optimisers/

func MustNew

func MustNew(eta float64) *Descent

func New

func New(eta float64) (*Descent, error)

func (*Descent) Extend

func (o *Descent) Extend(_ int)

func (*Descent) Update

func (o *Descent) Update(out, p *mat.VecDense, g mat.Vector) *mat.VecDense

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL