MCPcopy
hub / github.com/nlpodyssey/spago / OptimizationStrategy

Interface OptimizationStrategy

optimizers/optimizer.go:16–18  ·  view source on GitHub ↗

OptimizationStrategy is the interface implemented by AdaGrad, Adam, etc.

Source from the content-addressed store, hash-verified

14
15// OptimizationStrategy is the interface implemented by AdaGrad, Adam, etc.
16type OptimizationStrategy interface {
17 OptimizeParams(*nn.Param) error
18}
19
20// Optimizer is an optimizer that can optimize a set of parameters.
21type Optimizer struct {

Callers 1

OptimizeMethod · 0.65

Implementers 1

Adamoptimizers/adam/adam.go

Calls

no outgoing calls

Tested by

no test coverage detected