Contents

init(descriptor:)

Creates an SGD optimizer with the descriptor you specify.

Declaration

convenience init(descriptor optimizerDescriptor: MLCOptimizerDescriptor)

Parameters

  • optimizerDescriptor:

    An object you use to configure the optimizer.

Return Value

An SGD optimizer.

Discussion

Sets momentumScale to 0.0 and usesNesterovMomentum to false by default.

See Also

Creating an SGD Optimizer