SwiftCoreMLTools Documentation Beta

Structure SGD

public struct SGD: Optimizer
%3 SGD SGD Optimizer Optimizer SGD->Optimizer

Conforms To

Optimizer

Initializers

init(learning​Rate​Default:​learning​Rate​Max:​mini​Batch​Size​Default:​mini​Batch​Size​Range:​momentum​Default:​momentum​Max:​)

public init(learningRateDefault: Double, learningRateMax: Double, miniBatchSizeDefault: UInt, miniBatchSizeRange: [UInt], momentumDefault: Double, momentumMax: Double)

Properties

type

let type

learning​Rate​Default

let learningRateDefault: Double

learning​Rate​Max

let learningRateMax: Double

mini​Batch​Size​Default

let miniBatchSizeDefault: UInt

mini​Batch​Size​Range

let miniBatchSizeRange: [UInt]

momentum​Default

let momentumDefault: Double

momentum​Max

let momentumMax: Double