public protocol Optimizer : CopyableToDevice
A numerical optimizer.
Optimizers apply an optimization algorithm to update a differentiable model.
-
The type of the model to optimize.
Declaration
associatedtype Model : Differentiable
-
The scalar parameter type.
Declaration
associatedtype Scalar : FloatingPoint
-
The learning rate.
Declaration
var learningRate: Scalar { get set }