Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OptimizationStrategy ¶
OptimizationStrategy is the interface implemented by AdaGrad, Adam, etc.
type Optimizer ¶
type Optimizer struct {
// contains filtered or unexported fields
}
Optimizer is an optimizer that can optimize a set of parameters.
func New ¶
func New(parameters nn.ParamChannelFunc, strategy OptimizationStrategy) *Optimizer
New returns a new optimizer.
Click to show internal directories.
Click to hide internal directories.